home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Hack-Phreak Scene Programs
/
cleanhpvac.zip
/
cleanhpvac
/
PCACHSRC.ZIP
/
WINHULLO.MAK
< prev
next >
Wrap
Makefile
|
1991-08-20
|
1KB
|
29 lines
# NOTE this make file has been modified for Borland C++, to be
# used with TASM and TLINK, however I'm still using Microsoft's
# NMAKE, as Borland's MAKE has some strange quirks.
# To run this file: NMAKE WINHULLO.MAK
# Refer to the textbook for WINHULLO.MAK tailored to Microsoft MASM & LINK.
all:winhullo.exe
lpath = \borlandc\lib #path for libraries
ipath = \borlandc\include #path for include files.
epath = \borlandc\bin #path for EXEs.
sw = /c /n /v /Tw /Lc:$(lpath) #switches for tlink.
# /n =ignore-default-libs, /Tw =generate Windows exe, /Lc:$(lpath) =lib path,
# /v =debug-on.
fn = winhullo
winhullo.obj : winhullo.asm
tasm /zi winhullo;
# -r =dont append to exe, -x =dont look in INCLUDE envir-variable for incl-files,
# -i =look in this path instead....
winhullo.res : winhullo.rc
rc -r -x -i$(ipath) winhullo.rc
# c0ws=start-up-lib,cwins=Windows-runtime-lib,cs=standard-runtime,import=access-builtin-libs
winhullo.exe : winhullo.obj winhullo.def winhullo.res
tlink $(sw) c0ws $(fn),$(fn),$(fn),import cwins cs,$(fn).def
rc -x -i$(ipath) winhullo.res