home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QBasic & Borland Pascal & C
/
Delphi5.iso
/
C
/
Samples
/
CSAPE32.ARJ
/
EXAMPLES
/
MAIN.MAK
< prev
next >
Wrap
Text File
|
1991-03-09
|
890b
|
69 lines
#.AUTODEPEND
# *Translator Definitions*
# MAIN = demopcx
CC = tcc +$(MAIN).CFG
TASM = TASM
TLINK = tlink
# *Implicit Rules*
.c.obj:
$(CC) -c {$< }
.cpp.obj:
$(CC) -c {$< }
.asm.obj:
$(TASM) {$< }
# *List Macros*
EXE_dependencies = \
\$(MAIN).obj \
..\lib\tplcscap.lib \
..\lib\tplowl.lib
# *Explicit Rules*
$(MAIN).exe: $(MAIN).cfg $(EXE_dependencies)
$(TLINK) /v/x/c @&&|
c:\tc\lib\c0l.obj+
$(MAIN).obj
$(MAIN),
..\lib\tplcscap.lib+
..\lib\tplowl.lib+
c:\tc\lib\graphics.lib+
c:\tc\lib\emu.lib+
c:\tc\lib\mathl.lib+
c:\tc\lib\cl.lib
|
# *Individual File Dependencies*
#$(MAIN).obj: $(MAIN).c
# *Compiler Configuration File*
$(MAIN).cfg: main.mak
copy &&|
-ml
-v
-V
-vi-
-P
-w-cpt
-w-pia
-w-rvl
-w-eff
-w-sus
-w-rch
-w-rpt
-IC:\TC\INCLUDE;..\INCLUDE
-LC:\TC\LIB
-g255
| $(MAIN).cfg