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
/
overlap
/
makefile
next >
Wrap
Makefile
|
1996-05-05
|
592b
|
29 lines
! include <ntwin32.mak>
# define these if you want a debug version
#PDB = overlap.pdb
#CDEBUG= -Zi -Fd"$(PDB)"
#LDEBUG = -debug:full
LIBS = kernel32.lib ws2_32.lib mswsock.lib oldnames.lib libcmt.lib
# The _WIN32_WINNT flag is required in order to use AcceptEx().
.c.obj:
cl $(CDEBUG) -D_WIN32_WINNT=0x0400 -W3 -MT -c $<
all:overlap.exe
overlap.exe:overlap.obj
link -nodefaultlib overlap.obj $(LIBS) $(LDEBUG) \
#
# uncomment the line below for a debug build
# -pdb:$(PDB) \
-out:overlap.exe
clean:
-del *.obj *.pdb *.ilk
cleanall:clean
-del *.exe