home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
netds
/
winsock
/
nwlink
/
dgsend
/
makefile
< prev
Wrap
Makefile
|
1996-07-04
|
716b
|
31 lines
TARGETOS=BOTH
!include <win32.MAK>
proj = dgsend
mylibs = ..\testlib\testlib.lib
all: $(proj).exe
# Update the object files if necessary
$(proj).obj: $(proj).c ..\testlib\testlib.lib
$(cc) $(cflags) $(cvarsmt) $(cdebug) $(proj).c
# Create library if necessary.
..\testlib\testlib.lib :
cd ..\testlib
$(MAKE) /A
cd ..\dgsend
# Since the link line has some severe differences depending on what
# platform we are running on, we need to special case this so that
# we execute the correct commands:
$(proj).exe: $(proj).obj
$(link) $(linkdebug) $(conlflags) $(proj).obj $(conlibs) $(mylibs) -out:$(proj).exe
# Clean up everything
clean :
-del *.exe
-del *.obj