home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
gondwana.ecr.mu.oz.au/pub/
/
Graphics.tar
/
Graphics
/
VOGLE.ZIP
/
SRC
/
MAKEFILE.TC
< prev
next >
Wrap
Text File
|
2000-02-11
|
4KB
|
185 lines
CC = bcc
ASM = tasm
ASMFLAGS = -mx
#
CFLAGS = -c -I. -ml -DPC -DTC
CFLAGSD = -c -I. -ml -DPC -DTC -DPOSTSCRIPT -DHPGL -DDXY -DEGA -DCGA -DHERCULES -DVGA -DSIGMA -w-
all: vogle.lib
HDRS= VOGLE.H
OBJS = ATTR.OBJ \
ASPECT.OBJ \
BUFFER.OBJ \
PREF.OBJ \
CLIP.OBJ \
CURVES.OBJ \
ARCS.OBJ \
DRAW.OBJ \
DRIVERS.OBJ \
VALLOC.OBJ \
VIEWING.OBJ \
VIEWP.OBJ \
MAPPING.OBJ \
MATRIX.OBJ \
MOVE.OBJ \
OBJECTS.OBJ \
PATCHES.OBJ \
POINTS.OBJ \
POLYGONS.OBJ \
RECT.OBJ \
TENSOR.OBJ \
TEXT.OBJ \
NEWTOKEN.OBJ \
TRANS.OBJ \
SCALE.OBJ \
GETGP.OBJ \
MOUSE.OBJ \
YOBBARAY.OBJ \
GETSTRIN.OBJ \
MISC.OBJ \
SIGMA.OBJ \
SIGMA_A.OBJ \
PS.OBJ \
HPDXY.OBJ \
HGC.OBJ \
HGCLINE.OBJ \
HGCPADDR.OBJ \
HGCMODE.OBJ \
HGCCHAR.OBJ \
CGA.OBJ \
CGALINE.OBJ \
CGAPADDR.OBJ \
CGACHAR.OBJ \
CGA_BUF.OBJ \
EGA.OBJ \
VGA.OBJ \
VEGA_COL.OBJ \
VEGA_DRA.OBJ \
VEGA_TEX.OBJ \
VEGA_BUF.OBJ \
EGALINE.OBJ \
EGAPADDR.OBJ \
EGACHAR.OBJ \
PC_TEXT.OBJ \
SETMODE.OBJ \
PC_LOCAT.OBJ \
PC_FILL.OBJ \
PC_GETKE.OBJ
DRIVERS.OBJ: DRIVERS.C
$(CC) $(CFLAGSD) drivers.c
SIGMA.OBJ: ..\DRIVERS\ibmpc\SIGMA.C
$(CC) $(CFLAGS) ..\drivers\ibmpc\sigma.c
SIGMA_A.OBJ: ..\DRIVERS\IBMPC\SIGMA_A.ASM
$(ASM) $(ASMFLAGS) ..\DRIVERS\IBMPC\SIGMA_A.ASM;
PS.OBJ: ..\DRIVERS\PS.C
$(CC) $(CFLAGS) ..\drivers\ps.c
HPDXY.OBJ: ..\DRIVERS\HPDXY.C
$(CC) $(CFLAGS) ..\drivers\hpdxy.c
MOUSE.OBJ: ..\DRIVERS\IBMPC\MOUSE.ASM
$(ASM) $(ASMFLAGS) ..\DRIVERS\IBMPC\MOUSE.ASM;
MISC.OBJ: ..\DRIVERS\IBMPC\MISC.ASM
$(ASM) $(ASMFLAGS) ..\DRIVERS\IBMPC\misc.ASM;
#
# Most of the Hercules Specific stuff
#
HGC.OBJ: ..\DRIVERS\IBMPC\HGC.C
$(CC) $(CFLAGS) ..\drivers\ibmpc\hgc.c
HGCLINE.OBJ: ..\DRIVERS\IBMPC\HGCLINE.ASM
$(ASM) $(ASMFLAGS) ..\DRIVERS\IBMPC\HGCLINE.ASM;
HGCPADDR.OBJ: ..\DRIVERS\IBMPC\HGCPADDR.ASM
$(ASM) $(ASMFLAGS) ..\DRIVERS\IBMPC\HGCPADDR.ASM;
HGCCHAR.OBJ: ..\DRIVERS\IBMPC\HGCCHAR.ASM
$(ASM) $(ASMFLAGS) ..\DRIVERS\IBMPC\HGCCHAR.ASM;
HGCMODE.OBJ: ..\DRIVERS\IBMPC\HGCMODE.ASM
$(ASM) $(ASMFLAGS) ..\DRIVERS\IBMPC\HGCMODE.ASM;
#
# Most of the CGA Specific stuff
#
CGA.OBJ: ..\DRIVERS\IBMPC\CGA.C
$(CC) $(CFLAGS) ..\DRIVERS\IBMPC\CGA.C
CGALINE.OBJ: ..\DRIVERS\IBMPC\CGALINE.ASM
$(ASM) $(ASMFLAGS) ..\DRIVERS\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