home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
winbase
/
registry
/
makefile
next >
Wrap
Makefile
|
1996-04-09
|
566b
|
21 lines
# Nmake macros for building Windows 32-Bit apps
!include <ntwin32.mak>
all: monkey.exe
# Update the resource if necessary
monkey.res: monkey.rc monkey.h
rc $(rcflags) $(rcvars) -r -fo monkey.res monkey.rc
# Update the object file if necessary
monkey.obj: monkey.c monkey.h
$(cc) $(cdebug) $(cflags) $(cvars) monkey.c
# Update the executable file if necessary, and if so, add the resource back in.
monkey.exe: monkey.obj monkey.res
$(link) $(linkdebug) $(guiflags) -out:monkey.exe monkey.obj monkey.res $(guilibs) advapi32.lib