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