# Makefile for BORLAND C++ version of hp2xx
#
# Add support of modes PIC and PAC by un-commenting the corresponding
# lines below.
#
# HERCULES (HGC) patches:
# o Replace all HAS_DOS_VGA with HAS_DOS_HGC
# o Replace all to_vga... with to_hgc...
#
# Zusammengestutzte Version von HP2XX für DOS und Borland C(++) 3.1
# von haftmann#software 01/02 zur weiteren Aufarbeitung
#
# Für alle, die es noch nicht wissen:
# Ein MAKEFILE führt man mit dem Kommando "make" aus!:)
# MAKE.EXE ist normalerweise im BC31\BIN-Verzeichnis enthalten...
.AUTODEPEND
# *Translator Definitions*
CC = O:\bc31\bin\bcc +HP2XX.CFG
TASM = o:\bc31\bin\TASM
TLIB = o:\bc31\bin\tlib
TLINK = o:\bc31\bin\tlink
LIBPATH = o:\BC31\LIB;o:\BC31\LIB\LOCAL
INCLUDEPATH = o:\BC31\INCLUDE;o:\BC31\INCLUDE\SHARE
# *Implicit Rules*
.c.obj:
$(CC) -c {$< }
.cpp.obj:
$(CC) -c {$< }
# *List Macros*
EXE_dependencies = \
bresnham.obj \
chardraw.obj \
getopt.obj \
getopt1.obj \
hp2xx.obj \
hpgl.obj \
picbuf.obj \
to_eps.obj \
to_img.obj \
to_pbm.obj \
to_pcl.obj \
to_pcx.obj \
to_rgip.obj \
to_vec.obj \
to_vga.obj \
std_main.obj \
to_fig.obj \
clip.obj \
fillpoly.obj \
pendef.obj \
lindef.obj
# to_pac.obj \
# to_pic.obj
# *Explicit Rules*
hp2xx.exe: hp2xx.cfg $(EXE_dependencies)
$(TLINK) /v/x/c/P-/L$(LIBPATH) @&&|
c0l.obj+
bresnham.obj+
chardraw.obj+
getopt.obj+
getopt1.obj+
hp2xx.obj+
hpgl.obj+
picbuf.obj+
to_eps.obj+
to_img.obj+
to_pbm.obj+
to_pcl.obj+
to_pcx.obj+
to_rgip.obj+
to_vec.obj+
to_vga.obj+
to_fig.obj+
clip.obj+
fillpoly.obj+
pendef.obj+
lindef.obj+
std_main.obj
hp2xx
# no map file
graphics.lib+
emu.lib+
mathl.lib+
cl.lib
|
del hp2xx.cfg
# *Individual File Dependencies*
bresnham.obj: hp2xx.cfg bresnham.c
chardraw.obj: hp2xx.cfg chardraw.c
getopt.obj: hp2xx.cfg getopt.c
getopt1.obj: hp2xx.cfg getopt1.c
hp2xx.obj: hp2xx.cfg hp2xx.c
hpgl.obj: hp2xx.cfg hpgl.c
picbuf.obj: hp2xx.cfg picbuf.c
to_eps.obj: hp2xx.cfg to_eps.c
to_img.obj: hp2xx.cfg to_img.c
to_pbm.obj: hp2xx.cfg to_pbm.c
# to_pac.obj: hp2xx.cfg to_pac.c
#
# to_pic.obj: hp2xx.cfg to_pic.c
to_pcl.obj: hp2xx.cfg to_pcl.c
to_pcx.obj: hp2xx.cfg to_pcx.c
to_rgip.obj: hp2xx.cfg to_rgip.c
to_vec.obj: hp2xx.cfg to_vec.c
to_vga.obj: hp2xx.cfg to_vga.c
std_main.obj: hp2xx.cfg std_main.c
to_fig.obj: hp2xx.cfg to_fig.c
clip.obj: hp2xx.cfg clip.c
fillpoly.obj: hp2xx.cfg fillpoly.c
pendef.obj: hp2xx.cfg pendef.c
lindef.obj: hp2xx.cfg lindef.c
# *Compiler Configuration File*
hp2xx.cfg: makefile
copy &&|
-ml
-a
-O
-d
-wpin
-wamb
-wamp
-wasm
-wpro
-wcln
-wdef
-wsig
-wnod
-wstv
-wucp
-wuse
-weas
-I$(INCLUDEPATH)
-L$(LIBPATH)
-DDOS
-DHAS_DOS_VGA
-D_LIBC
-D__GNU_LIBRARY__
-D_NO_VCL
# -DPIC_PAC
| hp2xx.cfg
clean:
del *.obj
Detected encoding: OEM (CP437) | 1
|
|