Generators can have portamento.
[ahxm.git] / makefile
blobfde087e617a9d4b372d0e0d6ea2765703f549153
1 OBJS=core.o output.o out_raw.o out_wav.o out_oss.o out_pipe.o out_sgi.o \
2 input.o generator.o effect.o instrument.o
4 DEFS=-Wall -g
5 LIBS=
6 LIB=annhell.a
8 wav: wav.c annhell.a
9 $(CC) $(DEFS) wav.c annhell.a -lm $(LIBS) -o wav
11 $(LIB): $(OBJS)
12 ar rv $(LIB) $(OBJS)
14 %.o: %.c
15 $(CC) $(DEFS) $(CFLAGS) -c $<
17 config.h:
18 sh config.sh
20 clean:
21 rm -f wav *.o *.a *.wav *.raw tags config.h
23 # dependencies
24 -include makefile.depend
26 dep:
27 gcc $(DEFS) -MM *.c > makefile.depend