Mercurial > SDL_sound_CoreAudio
diff decoders/timidity/Makefile.testmidi @ 199:2d887640d300
Initial add.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Fri, 04 Jan 2002 06:49:49 +0000 |
parents | |
children | a73c51c12452 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/decoders/timidity/Makefile.testmidi Fri Jan 04 06:49:49 2002 +0000 @@ -0,0 +1,32 @@ +# Silly test makefile + +CC = gcc + +CFLAGS = -g -I../.. -ansi -pedantic -Wall `sdl-config --cflags` -DDEBUG_CHATTER + +OBJECTS = common.o instrum.o mix.o output.o playmidi.o readmidi.o resample.o \ + tables.o timidity.o testmidi.o + +all: testmidi + +testmidi: $(OBJECTS) + $(CC) $(OBJECTS) $(CFLAGS) -o testmidi `sdl-config --libs` + +clean: + $(RM) testmidi *.o *~ + +common.o: common.c options.h common.h +instrum.o: instrum.c timidity.h options.h common.h instrum.h resample.h \ + tables.h +mix.o: mix.c timidity.h options.h instrum.h playmidi.h output.h tables.h \ + resample.h mix.h +output.o: output.c options.h output.h +playmidi.o: playmidi.c timidity.h options.h instrum.h playmidi.h output.h \ + mix.h tables.h +readmidi.o: readmidi.c timidity.h common.h instrum.h playmidi.h +resample.o: resample.c timidity.h options.h common.h instrum.h playmidi.h \ + tables.h resample.h +tables.o: tables.c tables.h +testmidi.o: testmidi.c common.h timidity.h +timidity.o: timidity.c options.h common.h instrum.h playmidi.h readmidi.h \ + output.h timidity.h tables.h