home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / NETWORK / TEL23SRC.ZIP / PASSMAKE.MSC < prev    next >
Encoding:
Text File  |  1991-07-23  |  1.4 KB  |  37 lines

  1. #
  2. #    Microsoft 5.1 makefile for NCSA Telnet 2.3
  3. #
  4.  
  5. I       = ..\include
  6. #CC        = CL /c /AL /DMSC /DFTP /I$(I) /W3        # for making more portable versions
  7. CC     = CL /c /AL /DMSC /DFTP /I$(I) /Ot /Gs /W3  # for making more portable versions, with the best optimization
  8. #CC      = CL /c /AL /DMSC /DFTP /DMEMORY_DEBUG /I$(I) /Ox /W3   # for debugging memory errors (re-compile the whole source)
  9. #CC        = CL /c /AL /DMSC /DFTP /I$(I) /G2 /Ox /W3 # for making versions which only need to run on 80286s
  10. #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
  11. #CC        = CL /c /AL /DMSC /DFTP /I$(I) /Zg    # for generating function declarations
  12. MM      = masm /W2 /P /DMicrosoft /I..\..\include  # for assembly code files
  13. LINKER  = link                              # Microsoft's linker
  14. LINKLINE= telpass+ncsaio; 
  15. LINK   = /ST:4096 /CO /DOSSEG              # for debugging
  16. #LINK    = /ST:4096 /E /F /PAC /DOSSEG       # for final versions
  17.  
  18. telpass\telpass.obj : telpass\telpass.c
  19.     cd telpass
  20.     $(CC) telpass.c
  21.     copy telpass.obj ..\lib
  22.     cd ..
  23.  
  24. engine\ncsaio.obj : engine\ncsaio.asm
  25.     cd engine
  26.     $(MM) ncsaio.asm ;
  27.     copy ncsaio.obj ..\lib
  28.     cd ..
  29.  
  30. #Use the folowing lines for Microsoft Linker
  31. telpass.exe : lib\telpass.obj lib\ncsaio.obj
  32.     cd lib
  33.     $(LINKER) $(LINK) $(LINKLINE)
  34.     copy telpass.exe ..
  35.     del telpass.exe
  36.     cd ..
  37.