# ############################################################
# Makefile for MIDI2TEX for DOS with Turbo C
#
# Written by H.J.P. Kuykens
#
# ############################################################

CC = tcc

HDRS =	tp_debug.h  tp_heap1.h  tp_m2tf4.h  tp_misc.h   tp_decl.h   \
	tp_m2t16.h  tp_midi.h

SRC = 	tp_debug.c  tp_heap1.c  tp_m2tf4.c  tp_misc.c	tp_decl.c   \
	tp_m2t16.c  tp_midi.c

OBJS =  tp_decl.obj tp_debug.obj tp_heap1.obj tp_m2tf4.obj tp_misc.obj \
        tp_m2t16.obj tp_midi.obj

midi2tex: $(OBJS)
        $(CC) -emidi2tex $(OBJS)

# DO NOT DELETE THIS LINE
tp_debug.obj:     tp_debug.c tp_debug.h tp_decl.h tp_misc.h
   $(CC) -c tp_debug.c
tp_heap1.obj:     tp_heap1.c tp_heap1.h tp_decl.h tp_misc.h tp_debug.h
   $(CC) -c tp_heap1.c
tp_m2tf4.obj:     tp_m2tf4.c tp_m2tf4.h tp_decl.h tp_misc.h tp_debug.h
   $(CC) -c tp_m2tf4.c
tp_misc.obj:      tp_misc.c tp_misc.h tp_decl.h
   $(CC) -c tp_misc.c
tp_decl.obj:      tp_decl.c tp_decl.h
   $(CC) -c tp_decl.c
tp_m2t16.obj:     tp_m2t16.c tp_decl.h tp_misc.h tp_debug.h tp_m2tf4.h \
		tp_heap1.h tp_midi.h tp_m2t16.h
   $(CC) -c tp_m2t16.c
tp_midi.obj:      tp_midi.c tp_midi.h tp_decl.h tp_misc.h tp_debug.h \
		tp_heap1.h tp_m2tf4.h
   $(CC) -c tp_midi.c
# DEPENDENCIES MUST END AT END OF FILE
# IF YOU PUT STUFF HERE IT WILL GO AWAY
# see make depend above
