mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
798 B
37 lines
798 B
TARGETOS=WINNT
|
|
SEHMAP=TRUE
|
|
|
|
# RFLAGS is for Windows resources
|
|
RFLAGS= -fo$@ -DWIN32 -r -D_WIN32 -DWINVER=0x0400
|
|
|
|
|
|
!include <win32.mak>
|
|
|
|
all: remote.exe remoteds.exe
|
|
|
|
# Update the resources if necessary
|
|
|
|
remote.exe: remote.obj \
|
|
remote.res \
|
|
client.obj \
|
|
pipeex.obj \
|
|
srvad.obj \
|
|
srvchild.obj \
|
|
srvctos.obj \
|
|
srvhshak.obj \
|
|
srvlist.obj \
|
|
srvmain.obj \
|
|
srvquery.obj \
|
|
srvstoc.obj \
|
|
srvutil.obj
|
|
$(link) $(linkdebug) $(conflags) -out:$*.exe $** $(conlibsmt) advapi32.lib user32.lib
|
|
|
|
remoteds.exe: remoteds.obj \
|
|
remoteds.res
|
|
$(link) $(linkdebug) $(conflags) -out:$*.exe $** $(conlibsmt) advapi32.lib
|
|
|
|
.c.obj:
|
|
$(cc) $(cdebug) $(cflags) $(cvarsmt) $*.c
|
|
|
|
.rc.res:
|
|
$(RC) $(RFLAGS) $(@B).rc
|