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
/
winnt
/
plgblt
/
makefile
< prev
next >
Wrap
Makefile
|
1996-04-09
|
674b
|
25 lines
# Nmake macros for building Windows 32-Bit apps
TARGETOS=WINNT
!include <ntwin32.mak>
all: plgblt.exe
# Update the resource if necessary
plgblt.res: plgblt.rc plgblt.h
rc $(rcvars) $(rcflags) -r -fo plgblt.res plgblt.rc
# Inference rule for updating the object files
.c.obj:
$(cc) $(cdebug) $(cflags) $(cvars) $*.c
# Update the executable file if necessary, and if so, add the resource back in.
plgblt.exe: plgblt.obj track.obj bitmap.obj plgblt.res plgblt.def
$(link) $(linkdebug) $(guiflags) -out:plgblt.exe plgblt.obj track.obj bitmap.obj plgblt.res $(guilibs)
# Clean up everything except .exe file
clean:
del *.obj *.res