
CC            = cc
CCFlags       = -c -throwback -IC: -IOS:
LinkFlags     = -o $@

Libs          = OSLib:o.OSLib C:o.Stubs
Objects       = o.main o.midifile o.hbp10gm

^.PlayMIDI: $(Objects)
              Link $(Linkflags) $(Objects) $(Libs)

.c.o:;        $(CC) $(CCflags) $< -o $@

# Dynamic dependencies:
o.main:       c.main h.midifile h.hbp10gm
o.midifile:   c.midifile h.midifile
o.hbp10gm:    c.hbp10gm h.hbp10gm
