home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / VRAC / MAKEZIP.ZIP / MAKEFILE.RMK < prev    next >
Text File  |  1993-08-07  |  828b  |  40 lines

  1. #!cls
  2.  
  3. //
  4. // The following macro makes sure that the compiler uses the correct switchs
  5. //
  6. ClipFlags =/n/m/w
  7. //
  8. // This macro tells the linker were to search for .obj files
  9. //
  10. makepath[.obj] = ".;C:\CLIPPER\OBJ"
  11. //
  12. // This macro tells the linker were to search for library files
  13. //
  14. makepath[.lib] = "C:\LIB"
  15. //
  16. // This macro tells Clipper were to locate header files
  17. //
  18. makepath[.ch]  = "C:\INCLUDE"
  19.  
  20.  
  21. ObjFiles = build.obj makezip.obj
  22.  
  23.  
  24. makezip.exe:  $(ObjFiles)
  25.     SET OBJ=$(makepath[.obj])
  26.     SET LIB=$(makepath[.lib])
  27.     Blinker @linkfile.lnk
  28.  
  29.  
  30. .prg.obj:
  31.     SET INCLUDE=$(makepath[.ch])
  32.     clipper $* $(ClipFlags)
  33.  
  34. //
  35. // note that if a object does not change but the header does both files
  36. // will be recreated
  37. //
  38. build.obj   : build.prg    init.h
  39. makezip.obj : makezip.prg  init.h
  40.