home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / clipper / automa.zip / APP.DEF < prev    next >
Text File  |  1993-07-06  |  1KB  |  33 lines

  1. // APP.DEF - Sample AUTOMAKE definition file for an application.
  2. //           Uses COMMON.RMK for standard definitions and RTLink with
  3. //           a static overlay.
  4.  
  5. #include "Common.rmk"
  6.  
  7. // Clipper compiler switches (overrides CLP macro definition in COMMON.RMK)
  8. CLP = /a /b /p /w
  9.  
  10. // append "old" directory to .PRG search path
  11. makepath[.prg] := "$(makepath[.prg]);old"
  12.  
  13. // application modules (put CCode.lib in static overlay)
  14. EXE = OldApp
  15. PRGS = $(EXE) OldPrg1 OldPrg2 OldPrg3 OldPrg4 OldPrg5 OldPrg6
  16. LIBS = Clipper Extend
  17. LIBS_OVL = CCode
  18.  
  19. #compile rules
  20.  
  21. // link dependancy rule w/ static overlay -
  22. // _OBJS, _ROOT and _OVL macros are created by AUTOMAKE:
  23. //    _OBJS macro contains a list of Clipper .OBJ files
  24. //    _ROOT macro contains the root script file name
  25. //    _OVL macro contains the overlay script file name
  26. $(EXE).exe: $(_OBJS)
  27.     echo @$(_ROOT)>> $(SCRIPT)
  28.     echo BEGINAREA> $(SCRIPT)
  29.     echo @$(_OVL)>> $(SCRIPT)
  30.     echo ENDAREA>> $(SCRIPT)
  31.     RTLink @$(SCRIPT)
  32.     del $(SCRIPT)
  33.