view decoders/timidity/Makefile.testmidi @ 232:34000a50353b

Updated.
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 19 Jan 2002 19:04:55 +0000
parents 2d887640d300
children a73c51c12452
line wrap: on
line source

# 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