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
/
showdib
/
makefile
< prev
next >
Wrap
Makefile
|
1995-11-27
|
971b
|
33 lines
# Nmake macros for building Windows 32-Bit apps
!include <win32.mak>
all: showdib.exe
# Update the resource if necessary
showdib.res: showdib.rc showdib.h
rc $(rcflags) $(rcvars) showdib.rc
# Update the object file if necessary
showdib.obj: showdib.c showdib.h
$(cc) $(cflags) $(cvars) $(cdebug) showdib.c
print.obj: print.c showdib.h
$(cc) $(cflags) $(cvars) $(cdebug) print.c
dlgopen.obj: dlgopen.c showdib.h
$(cc) $(cflags) $(cvars) $(cdebug) dlgopen.c
dib.obj: dib.c showdib.h
$(cc) $(cflags) $(cvars) $(cdebug) dib.c
drawdib.obj: drawdib.c showdib.h
$(cc) $(cflags) $(cvars) $(cdebug) drawdib.c
# Update the executable file if necessary, and if so, add the resource back in.
showdib.exe: showdib.obj print.obj dib.obj dlgopen.obj drawdib.obj showdib.res showdib.def
$(link) $(linkdebug) $(guiflags) -out:showdib.exe showdib.obj print.obj dib.obj dlgopen.obj drawdib.obj showdib.res $(guilibs)