home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 11 / 11.iso / m / m248 / 4.ddi / DDE._ / DDE.
Encoding:
Text File  |  1993-02-01  |  1.1 KB  |  73 lines

  1. #    
  2. #    DDE -- Make File for DDE.UCD
  3. #    Copyright 1987-1991, Authorware, Inc.
  4. #
  5. #    Revision History
  6. #
  7. #        7/25/91    - Initial version
  8. #
  9.  
  10. all: dde.exe
  11.  
  12. #
  13. # How to use this make file.
  14. #
  15. #    First You must be on the drive and in the directoy of this make file!!!!!!
  16. #    
  17. #    To make without debug information type:
  18. #
  19. #     nmake dde
  20. #
  21. #    To make with debug information type:
  22. #
  23. #     nmake dde "cvw="
  24. #
  25. #    This IS case sensitive so use lower case.
  26. #
  27. #    The optional -a flag may be used to force all targets to be
  28. #    created. For example:
  29. #
  30. #     nmake -a dde
  31. #     nmake -a dde "cvw="
  32. #
  33. #    This makefile was created and tested for verion 1.11 MS NMAKE utility
  34. #
  35.  
  36. !IFDEF cvw
  37.  
  38. cdebug = -Zpei
  39. ldebug = /NOE /NOD /CO
  40.  
  41. !ELSE
  42.  
  43. cdebug = -Zpe
  44. ldebug = /NOE /NOD
  45.  
  46. !ENDIF
  47.  
  48. c_flags = cl -c -AMw -Gsw -Od -W2 $(cdebug)
  49.  
  50. OBJS    =  dde.obj libentry.obj
  51.  
  52. dde.obj: dde.c 
  53.     $(c_flags) dde.c 
  54.  
  55. libentry.obj: libentry.asm
  56.     masm -Mx libentry.asm,,;
  57.  
  58. dde.res: dde.rc
  59.     rc -r dde.rc
  60.  
  61. dde.exe: $(OBJS) dde.def dde.res
  62.     link @<<
  63. $(OBJS), 
  64. dde.exe,
  65.  ,
  66. $(ldebug) mdllcew libw,
  67. dde.def
  68. <<NOKEEP
  69.     rc -V dde.res
  70.     del dde.ucd
  71.     rename dde.exe dde.ucd
  72.  
  73.