22 lines
519 B
Makefile
22 lines
519 B
Makefile
!include <win32.mak>
|
|
|
|
LIBS = kernel32.lib user32.lib oldnames.lib ws2_32.lib mswsock.lib
|
|
|
|
.cpp{$(OUTDIR)}.obj:
|
|
$(cc) $(cdebug) $(cflags) $(cvarsmt) /Fo"$(OUTDIR)\\" /Fd"$(OUTDIR)\\" $**
|
|
|
|
all: $(OUTDIR) $(OUTDIR)\iocpclient.exe
|
|
|
|
#----- If OUTDIR does not exist, then create directory
|
|
$(OUTDIR) :
|
|
if not exist "$(OUTDIR)/$(NULL)" mkdir $(OUTDIR)
|
|
|
|
$(OUTDIR)\iocpclient.exe: $(OUTDIR)\iocpclient.obj
|
|
$(link) $(ldebug) $(conlflags) -out:$*.exe $** $(LIBS)
|
|
|
|
clean:
|
|
$(CLEANUP)
|
|
|
|
cleanall:clean
|
|
-del *.exe
|