# makes the windows socket text server

COPTS = -nologo -c -AL -Gsw -Zp -W3 -DWINVER=0x300
LOPTS = /NOD
OBJS  = txtsrv.obj
LIBS  = libw llibcew winsock

.c.obj :
        cl $(COPTS) $< > $*.cer


all : txtsrv.exe


txtsrv.exe : $(OBJS) txtsrv.res txtsrv.def
        link $(LOPTS) @<<
$(OBJS),
txtsrv,
NUL,
$(LIBS),
txtsrv.def;
<<
        rc txtsrv.res

txtsrv.res : txtsrv.rc
        rc -r txtsrv.rc

clean:
        del *.obj
        del *.res
        del *.cer


