home *** CD-ROM | disk | FTP | other *** search
- #
- # Microsoft 5.1 makefile for NCSA Telnet 2.3
- #
-
- I = ..\include
- #CC = CL /c /AL /DMSC /DFTP /I$(I) /W3 # for making more portable versions
- CC = CL /c /AL /DMSC /DFTP /I$(I) /Ot /Gs /W3 # for making more portable versions, with the best optimization
- #CC = CL /c /AL /DMSC /DFTP /DMEMORY_DEBUG /I$(I) /Ox /W3 # for debugging memory errors (re-compile the whole source)
- #CC = CL /c /AL /DMSC /DFTP /I$(I) /G2 /Ox /W3 # for making versions which only need to run on 80286s
- #CC = CL /c /AL /FPi87 /DMSC /DFTP /I$(I) /G2 /Ox /W3 # for making versions which only need to run on 80286s with 80287 math coprocessors
- #CC = CL /c /AL /DMSC /DFTP /I$(I) /Zg # for generating function declarations
- MM = masm /W2 /P /DMicrosoft /I..\..\include # for assembly code files
- LINKER = link # Microsoft's linker
- LINKLINE= telpass+ncsaio;
- LINK = /ST:4096 /CO /DOSSEG # for debugging
- #LINK = /ST:4096 /E /F /PAC /DOSSEG # for final versions
-
- telpass\telpass.obj : telpass\telpass.c
- cd telpass
- $(CC) telpass.c
- copy telpass.obj ..\lib
- cd ..
-
- engine\ncsaio.obj : engine\ncsaio.asm
- cd engine
- $(MM) ncsaio.asm ;
- copy ncsaio.obj ..\lib
- cd ..
-
- #Use the folowing lines for Microsoft Linker
- telpass.exe : lib\telpass.obj lib\ncsaio.obj
- cd lib
- $(LINKER) $(LINK) $(LINKLINE)
- copy telpass.exe ..
- del telpass.exe
- cd ..
-