
#
#   MAKEFILE  fr das Erzeugen eines TheFirmware-Eproms
#
#   R. Schmidt (DL1BHO)  08/1991
#

# MACRO-Definitionen

qc      = QC
xasm    = XAS
xlnk    = XLK
ron     = - RONNER      # Ronner macht Murks beim Dos-Exit-Code...
ao      = AO


tf.bin: tfl1.rel tfkiss.rel cruntime.rel l2a.rel l2b.rel l2c.rel l2d.rel \
        l2e.rel l2v.rel l2s.rel tfa.rel tfb.rel tfc.rel tfd.rel tfv.rel  \
        tf.lnk
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   L I N K E R
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(xlnk) tf.lnk
  @dir tf.bin


tfl1.rel: tfl1.mac
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   T F L 1
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(xasm) tfl1


tfkiss.rel: tfkiss.mac
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   T F K I S S
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(xasm) tfkiss


cruntime.rel: cruntime.mac
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   C R U N T I M E
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(xasm) cruntime


l2a.rel: l2a.c all.h l2.h l2s.h l2ext.h
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   L 2 A
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(qc) l2a -s
  $(ron) l2a -e4f
  $(ao) l2a.mac -o l2a.cas
  @del l2a.mac
  @ren l2a.cas l2a.mac
  $(xasm) l2a
  @del l2a.mac


l2b.rel: l2b.c all.h l2.h l2s.h l2ext.h
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   L 2 B
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(qc) l2b -s
  $(ron) l2b -e4f
  $(ao) l2b.mac -o l2b.cas
  @del l2b.mac
  @ren l2b.cas l2b.mac
  $(xasm) l2b
  @del l2b.mac


l2c.rel: l2c.c all.h l2.h l2s.h l2ext.h
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   L 2 C
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(qc) l2c -s
  $(ron) l2c -e4f
  $(ao) l2c.mac -o l2c.cas
  @del l2c.mac
  @ren l2c.cas l2c.mac
  $(xasm) l2c
  @del l2c.mac


l2d.rel: l2d.c all.h l2.h
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   L 2 D
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(qc) l2d -s
  @del l2d.mac > nul
  @ren l2d.cas l2d.mac
  $(ao) l2d.mac -o l2d.cas
  @del l2d.mac
  @ren l2d.cas l2d.mac
  $(xasm) l2d
  @del l2d.mac


l2e.rel: l2e.c all.h l2.h l2s.h l2ext.h
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   L 2 E
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(qc) l2e -s
  $(ron) l2e -e4f
  $(ao) l2e.mac -o l2e.cas
  @del l2e.mac
  @ren l2e.cas l2e.mac
  $(xasm) l2e
  @del l2e.mac


l2v.rel: l2v.c all.h l2.h
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   L 2 V
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(qc) l2v -s
  $(ron) l2v -e4f
  $(ao) l2v.mac -o l2v.cas
  @del l2v.mac
  @ren l2v.cas l2v.mac
  $(xasm) l2v
  @del l2v.mac


l2s.rel: l2s.c all.h l2.h
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   L 2 S
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(qc) l2s -s
  $(ron) l2s -e4f
  $(ao) l2s.mac -o l2s.cas
  @del l2s.mac
  @ren l2s.cas l2s.mac
  $(xasm) l2s
  @del l2s.mac


tfv.rel: tfv.c all.h tf.h l2.h
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   T F V
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(qc) tfv -s
  $(ron) tfv -e4f
  $(ao) tfv.mac -o tfv.cas
  @del tfv.mac
  @ren tfv.cas tfv.mac
  $(xasm) tfv
  @del tfv.mac


tfa.rel: tfa.c all.h tf.h l2.h tfext.h
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   T F A
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(qc) tfa -s
  $(ron) tfa -e4f
  $(ao) tfa.mac -o tfa.cas
  @del tfa.mac
  @ren tfa.cas tfa.mac
  $(xasm) tfa
  @del tfa.mac


tfb.rel: tfb.c all.h tf.h l2.h tfext.h
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   T F B
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(qc) tfb -s
  $(ron) tfb -e4f
  $(ao) tfb.mac -o tfb.cas
  @del tfb.mac
  @ren tfb.cas tfb.mac
  $(xasm) tfb
  @del tfb.mac


tfc.rel: tfc.c all.h tf.h l2.h tfext.h
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   T F C
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(qc) tfc -s
  $(ron) tfc -e4f
  $(ao) tfc.mac -o tfc.cas
  @del tfc.mac
  @ren tfc.cas tfc.mac
  $(xasm) tfc
  @del tfc.mac


tfd.rel: tfd.c all.h tf.h l2.h tfext.h
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  @echo xx   T F D
  @echo xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  $(qc) tfd -s
  $(ron) tfd -e4f
  $(ao) tfd.mac -o tfd.cas
  @del tfd.mac
  @ren tfd.cas tfd.mac
  $(xasm) tfd
  @del tfd.mac

#
#  Das war's...
#
