26 lines
474 B
Makefile
26 lines
474 B
Makefile
! include <win32.mak>
|
|
|
|
# define these if you want a debug version
|
|
#PDB = iprenew.pdb
|
|
#CDEBUG= -Zi -Fd"$(PDB)"
|
|
#LDEBUG = -debug:full
|
|
|
|
LIBS = kernel32.lib libcmt.lib wsock32.lib iphlpapi.lib
|
|
|
|
.cpp.obj:
|
|
$(cc) $(cdebug) $(cflags) $(cvarsmt) $*.cpp
|
|
|
|
all:iprenew.exe
|
|
|
|
iprenew.exe:iprenew.obj
|
|
$(link) $(ldebug) $(conlflags) -out:$*.exe $*.obj $(conlibsmt) $(LIBS)
|
|
#
|
|
# uncomment the line below for a debug build
|
|
# -pdb:$(PDB) \
|
|
|
|
clean:
|
|
-del *.obj
|
|
|
|
cleanall:clean
|
|
-del *.exe
|