#
#   Makefile for Generic sample application
#   Copyright (c) 1992 Microsoft Corporation. All rights reserved.
#

CC     =   cl -c -AM -Gsw -nologo -Od -W3 -Zipe
LN     =   link /m/CO/NOD/NOE/NOL/A:16
SRC    =   ttdmp.c init.c
OBJ    =   ttdmp.obj init.obj

.c.obj      :
				echo Compiling: $*.c
				$(CC) -NT $* $*.c >$*.err
				type $*.err
				del $*.err

ttdmp.exe    :   $(OBJ) ttdmp.res ttdmp.def
				echo Linking: ttdmp.exe
				$(LN) $(OBJ), ttdmp.exe, ttdmp.map, commdlg mlibcew libw, ttdmp.def
				echo Adding Resources
				rc -v ttdmp.res ttdmp.exe

ttdmp.res    :   ttdmp.rc global.h ttdmp.ico
				echo RCing: ttdmp.rc
				rc -r ttdmp.rc

