comparison decoders/timidity/Makefile.testmidi @ 254:a73c51c12452

Memory access fixes.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 11 Feb 2002 07:04:06 +0000
parents 2d887640d300
children
comparison
equal deleted inserted replaced
253:6e1ee1f5be1b 254:a73c51c12452
1 # Silly test makefile 1 # Silly test makefile
2 2
3 CC = gcc 3 CC = gcc
4 4
5 # Standard SDL_sound debugging
5 CFLAGS = -g -I../.. -ansi -pedantic -Wall `sdl-config --cflags` -DDEBUG_CHATTER 6 CFLAGS = -g -I../.. -ansi -pedantic -Wall `sdl-config --cflags` -DDEBUG_CHATTER
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
6 12
7 OBJECTS = common.o instrum.o mix.o output.o playmidi.o readmidi.o resample.o \ 13 OBJECTS = common.o instrum.o mix.o output.o playmidi.o readmidi.o resample.o \
8 tables.o timidity.o testmidi.o 14 tables.o timidity.o testmidi.o
9 15
10 all: testmidi 16 all: testmidi
11 17
12 testmidi: $(OBJECTS) 18 testmidi: $(OBJECTS)
13 $(CC) $(OBJECTS) $(CFLAGS) -o testmidi `sdl-config --libs` 19 $(CC) $(OBJECTS) $(CFLAGS) -o testmidi $(LIBS)
14 20
15 clean: 21 clean:
16 $(RM) testmidi *.o *~ 22 $(RM) testmidi *.o *~
17 23
18 common.o: common.c options.h common.h 24 common.o: common.c options.h common.h