199
|
1 # Silly test makefile
|
|
2
|
|
3 CC = gcc
|
|
4
|
|
5 CFLAGS = -g -I../.. -ansi -pedantic -Wall `sdl-config --cflags` -DDEBUG_CHATTER
|
|
6
|
|
7 OBJECTS = common.o instrum.o mix.o output.o playmidi.o readmidi.o resample.o \
|
|
8 tables.o timidity.o testmidi.o
|
|
9
|
|
10 all: testmidi
|
|
11
|
|
12 testmidi: $(OBJECTS)
|
|
13 $(CC) $(OBJECTS) $(CFLAGS) -o testmidi `sdl-config --libs`
|
|
14
|
|
15 clean:
|
|
16 $(RM) testmidi *.o *~
|
|
17
|
|
18 common.o: common.c options.h common.h
|
|
19 instrum.o: instrum.c timidity.h options.h common.h instrum.h resample.h \
|
|
20 tables.h
|
|
21 mix.o: mix.c timidity.h options.h instrum.h playmidi.h output.h tables.h \
|
|
22 resample.h mix.h
|
|
23 output.o: output.c options.h output.h
|
|
24 playmidi.o: playmidi.c timidity.h options.h instrum.h playmidi.h output.h \
|
|
25 mix.h tables.h
|
|
26 readmidi.o: readmidi.c timidity.h common.h instrum.h playmidi.h
|
|
27 resample.o: resample.c timidity.h options.h common.h instrum.h playmidi.h \
|
|
28 tables.h resample.h
|
|
29 tables.o: tables.c tables.h
|
|
30 testmidi.o: testmidi.c common.h timidity.h
|
|
31 timidity.o: timidity.c options.h common.h instrum.h playmidi.h readmidi.h \
|
|
32 output.h timidity.h tables.h
|