SafeNet/.svn/pristine/d3/d3dcbd83a2b000474e39644ff06a7f8e5310df65.svn-base
2021-02-24 13:50:23 +02:00

22 lines
523 B
Plaintext

cc=cl
link=link
cflags=/nologo /ML /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "TELNET" /D "GAPING_SECURITY_HOLE" /YX /FD /c
lflags=kernel32.lib user32.lib wsock32.lib winmm.lib /nologo /subsystem:console /incremental:yes /machine:I386 /out:nc.exe
all: nc.exe
getopt.obj: getopt.c
$(cc) $(cflags) getopt.c
doexec.obj: doexec.c
$(cc) $(cflags) doexec.c
netcat.obj: netcat.c
$(cc) $(cflags) netcat.c
nc.exe: getopt.obj doexec.obj netcat.obj
$(link) getopt.obj doexec.obj netcat.obj $(lflags)