home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / PCACHSRC.ZIP / WINHULLO.MAK < prev    next >
Makefile  |  1991-08-20  |  1KB  |  29 lines

  1. # NOTE this make file has been modified for Borland C++, to be
  2. # used with TASM and TLINK, however I'm still using Microsoft's
  3. # NMAKE, as Borland's MAKE has some strange quirks.
  4. # To run this file:    NMAKE WINHULLO.MAK
  5. # Refer to the textbook for WINHULLO.MAK tailored to Microsoft MASM & LINK.
  6.  
  7. all:winhullo.exe
  8.  
  9. lpath = \borlandc\lib        #path for libraries
  10. ipath =    \borlandc\include    #path for include files.
  11. epath =    \borlandc\bin        #path for EXEs.
  12. sw =    /c /n /v /Tw /Lc:$(lpath)    #switches for tlink.
  13. # /n =ignore-default-libs, /Tw =generate Windows exe, /Lc:$(lpath) =lib path,
  14. # /v =debug-on.
  15. fn =     winhullo
  16.  
  17. winhullo.obj : winhullo.asm
  18.   tasm /zi winhullo;
  19.  
  20. # -r =dont append to exe, -x =dont look in INCLUDE envir-variable for incl-files,
  21. # -i =look in this path instead....
  22. winhullo.res : winhullo.rc
  23.       rc -r -x -i$(ipath) winhullo.rc
  24.  
  25. # c0ws=start-up-lib,cwins=Windows-runtime-lib,cs=standard-runtime,import=access-builtin-libs
  26. winhullo.exe : winhullo.obj winhullo.def winhullo.res
  27.        tlink $(sw) c0ws $(fn),$(fn),$(fn),import cwins cs,$(fn).def
  28.       rc -x -i$(ipath) winhullo.res
  29.