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