home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
winui
/
cursor
/
makefile
< prev
Wrap
Makefile
|
1993-06-17
|
615b
|
24 lines
# Nmake macros for building Windows 32-Bit apps
!include <ntwin32.mak>
all: cursor.exe
# Update the resource if necessary
cursor.res: cursor.rc cursor.h bullseye.cur
rc -r cursor.rc
cursor.rbj: cursor.res
cvtres -$(CPU) cursor.res -o cursor.rbj
# Update the object file if necessary
cursor.obj: cursor.c cursor.h
$(cc) $(cflags) $(cvars) $(cdebug) cursor.c
# Update the executable file if necessary, and if so, add the resource back in.
cursor.exe: cursor.obj cursor.rbj cursor.def
$(link) $(linkdebug) $(guiflags) -out:cursor.exe cursor.obj cursor.rbj $(guilibs)