home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
sdktools
/
tlist
/
makefile
< prev
next >
Wrap
Makefile
|
1996-08-09
|
572b
|
33 lines
# Nmake macros for building Win32 applications
TARGETOS=WINNT
!include <ntwin32.mak>
# Inference rules
.c.obj:
$(cc) $(cdebug) $(cflags) $(cvars) $<
.obj.exe:
$(link) $(ldebug) $(conlflags) -out:$*.exe $** $(conlibs) user32.lib
# Target List
All: tlist.exe kill.exe
# Source Objects
kill.obj : kill.c
tlist.obj : tlist.c
common.obj : common.c
# Executables
tlist.exe : tlist.obj common.obj
kill.exe : kill.obj common.obj
# Clean up everything
cleanall : clean
del *.exe
# Clean up everything except .exe files
clean:
del *.obj