home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / dax1.exe / CP / CPC / NLM / MAKEFILE < prev   
Text File  |  1992-07-15  |  847b  |  43 lines

  1. #
  2. # Program:  CpApi.NLM
  3. #           This makefile rebuilds the CpApi Library for NLM Clients
  4. #
  5. # Created:  Wed Mar 11 21:42:43 1992
  6. #
  7.  
  8. !ifndef %dcdir
  9. dcdir = e:\nlm\dc
  10. !else
  11. dcdir = $(%dcdir)
  12. !endif
  13.  
  14. srcdir=$(dcdir)\cp\cpc
  15. objdir=$(dcdir)\cp\cpc\nlm
  16.  
  17. libmgr=$(librarian)
  18. libswi=/l
  19. concha=              # don't need this for WLIB, so leave it blank...
  20.  
  21. debug = /dDEBUG=3    # use /dDEBUG to define DEBUG for C Preprocessor
  22.  
  23. !ifndef %ccf386
  24. d_wcc386opt = /w4 /e99 /zp1 /3s /d2 $(debug)
  25. p_wcc386opt = /w4 /s /zp1 /3s /oax
  26. x_wcc386opt = $($(version)_wcc386opt)
  27. !else
  28. x_wcc386opt = $(%ccf386)
  29. !endif
  30.  
  31. compiler_cmd = $(wcc386) $(x_wcc386opt) $[*.c
  32.  
  33. .BEFORE
  34.     echo $(build_msg)
  35.     set inc386=$(dcdir);$(inc_386)
  36.     set wcg386=$(code_386)
  37.  
  38. .c.obj:
  39.         $(compiler_cmd)
  40.  
  41. !include $(dcdir)\cp\cpc\makeclnt
  42.  
  43.