# DJGPP (DOS port of gcc) Makefile for abcMIDI package # # # compilation #ifdefs - you need to compile with these defined to get # the code to compile with PCC. # # NOFTELL in midifile.c and tomidi.c selects a version of the file-writing # code which doesn't use file seeking. # # PCCFIX in mftext.c midifile.c midi2abc.c # comments out various things that aren't available in PCC # all : abc2midi.exe midi2abc.exe abc2abc.exe mftext.exe abc2midi.exe : parseabc.o tomidi.o midifile.o gcc -o abc2midi.exe parseabc.o tomidi.o midifile.o abc2abc.exe : parseabc.o toabc.o gcc -o abc2abc.exe parseabc.o toabc.o midi2abc.exe : midifile.o midi2abc.o gcc midifile.o midi2abc.o -o midi2abc.exe mftext.exe : midifile.o mftext.o crack.o gcc midifile.o mftext.o crack.o -o mftext.exe parseabc.o : parseabc.c abc.h gcc -c parseabc.c toabc.o : toabc.c abc.h gcc -c toabc.c # could use -DNOFTELL here tomidi.o : tomidi.c abc.h midifile.h gcc -c tomidi.c # could use -DNOFTELL here midifile.o : midifile.c midifile.h gcc -c midifile.c midi2abc.o : midi2abc.c midifile.h gcc -c midi2abc.c crack.o : crack.c gcc -c crack.c mftext.o : mftext.c midifile.h gcc -c mftext.c clean: del *.o del *.exe