1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
CC=gcc #with mingw32 O2 optimization GRAMophone crashes... CFLAGS+=-lm DESTDIR=$(HOMEPATH)\gramophone2 default: GRAMophone.tab.c $(CC) $(CFLAGS) -o gramophone2 GRAMophone.c\ grammyVM.c init.c midicode.c\ midifile.c expcode.c debug.c errors.c\ hash.c GRAMophone.tab.c GRAMophone.tab.c: lex.yy.c bison -d GRAMophone.y lex.yy.c: flex GRAMophone.l clean: del y* lex* GRAMophone.tab.* gramophone2.exe |