.AUTODEPEND

#               *Translator Definitions*
CC = tcc +DEMO.CFG
TASM = TASM
TLINK = tlink
BUILDER = hbuild

#               *Implicit Rules*
.cpp.obj:
  $(CC) -c {$< }

#               *List Macros*


DBUILD =  \
  hres_r.obj \
  hres_w.obj \
  hres_dat.obj \
  hbuild.obj \
  mfuncs.obj \
  codegen.obj \
  hmain.obj

DITEM =  \
  hmakebin.obj \
  hres_w.obj \
  hres_r.obj \
  hres_dat.obj \
  item.obj \
  codegen.obj \
  mfuncs.obj

STEAL =  \
  mfuncs.obj \
  steal.obj

DEMO = \
  test1.obj \
  test2.obj \
  test3.obj \
  test5.obj \
  test4.obj \
  item.obj \
  hres_r.obj \
  h_init.obj \
  mfuncs.obj \
  tmain.obj

#               *Explicit Rules*
hbuild.exe: demo.cfg $(DBUILD)
  $(TLINK) /x/n/c/d @&&|
c:\tc\lib\c0l.obj+
hres_r.obj+
hres_w.obj+
hres_dat.obj+
hbuild.obj+
mfuncs.obj+
codegen.obj+
hmain.obj
hbuild,hbuild
c:\tc\lib\emu.lib+
c:\tc\lib\mathl.lib+
c:\tc\lib\cl.lib
|

item.exe: demo.cfg $(DITEM)
  $(TLINK) /x/n/c/d @&&|
c:\tc\lib\c0l.obj+
hmakebin.obj+
hres_w.obj+
hres_r.obj+
hres_dat.obj+
item.obj+
codegen.obj+
mfuncs.obj
item,
c:\tc\lib\emu.lib+
c:\tc\lib\mathl.lib+
c:\tc\lib\cl.lib
|

steal.exe: demo.cfg $(STEAL)
  $(TLINK) /x/n/c/d @&&|
c:\tc\lib\c0l.obj+
mfuncs.obj+
steal.obj
steal,
c:\tc\lib\emu.lib+
c:\tc\lib\mathl.lib+
c:\tc\lib\cl.lib
|

demo: demo.cfg $(DEMO) steal.exe
  $(TLINK) /m/n/c/d @&&|
c:\tc\lib\c0l.obj+
test1.obj+
test2.obj+
test3.obj+
test5.obj+
test4.obj+
item.obj+
hres_r.obj+
h_init.obj+
mfuncs.obj+
tmain.obj
demo,
c:\tc\lib\emu.lib+
c:\tc\lib\mathl.lib+
c:\tc\lib\cl.lib
|


static.res: hbuild.exe steal.exe static.txt
   steal
   cls
   $(BUILDER) demo

h_init.cpp: static.res
   $(BUILDER) demo

demo2: item.exe binary.cfg static.res
   item
   $(CC) -ml -c h_init.cpp tmain.cpp
  $(TLINK) /x/n/c/d @&&|
c:\tc\lib\c0l.obj+
test1.obj+
test2.obj+
test3.obj+
test5.obj+
test4.obj+
item.obj+
hres_r.obj+
h_init.obj+
mfuncs.obj+
tmain.obj
demo,
c:\tc\lib\emu.lib+
c:\tc\lib\mathl.lib+
c:\tc\lib\cl.lib
|


#               *Individual File Dependencies*
hres_r.obj: hres_r.cpp 

hres_w.obj: hres_w.cpp 

hres_dat.obj: hres_dat.cpp 

hbuild.obj: hbuild.cpp 

mfuncs.obj: mfuncs.cpp 

codegen.obj: codegen.cpp 

hmain.obj: hmain.cpp 

test1.obj: test1.cpp 

test2.obj: test2.cpp 

test3.obj: test3.cpp 

test5.obj: test5.cpp 

test4.obj: test4.cpp 

item.obj: item.cpp 

h_init.obj: h_init.cpp 

tmain.obj: tmain.cpp 

steal.obj: steal.cpp 


#               *Compiler Configuration File*
demo.cfg: makefile
  copy &&|
-ml
-V
-vi
-wamb
-wnod
-wstv
-wuse
-IC:\TC\INCLUDE
-LC:\TC\LIB
| demo.cfg

binary.cfg: makefile
  copy &&|
-ml
-V
-vi
-wamb
-wnod
-wstv
-wuse
-DTestBinaries
-IC:\TC\INCLUDE
-LC:\TC\LIB
| demo.cfg


