fix rules for optional plugins.
[galan.git] / Makefile.libaudiofile
blob5fa332d8d62cb691a687facececc02250c5c11e5
1 # Handcrafted Makefile for Michael Pruett's audiofile-0.1.7 on Win32
2 # Written 20 Sep 1999 by Tony Garnock-Jones
4 # You might have to change this if you have any version of libaudiofile
5 # other than 0.1.7
7 objects = audiofile.o error.o write.o bread.o bwrite.o byteorder.o \
8         util.o aupv.o \
9         aes.o instrument.o loop.o marker.o misc.o track.o query.o compression.o \
10         aiff.o aiffwrite.o extended.o \
11         au.o auwrite.o \
12         wave.o wavewrite.o \
13         ulaw.o g711.o
15 CFLAGS = -Wall -DHAVE_CONFIG_H -I. -DNDEBUG
17 libaudiofile.dll: $(objects) dllinit.o
18         dllwrap -g --export-all --output-def libaudiofile.def --output-lib libaudiofile.a -o $@ $(objects) dllinit.o
20 %.o: %.c
21         gcc $(CFLAGS) -c $<