Corrected conditional compilation errors.
[ahxm.git] / makefile
blobb6c2609b934d1e9d813318b2d14a07c298d07371
1 OBJS=output.o out_raw.o out_wav.o out_oss.o out_pipe.o out_sgi.o
2 DEFS=-Wall -g -DLINUX_OSS
3 LIBS=
4 LIB=annhell.a
6 wav: wav.c annhell.a
7 $(CC) $(DEFS) wav.c annhell.a -lm $(LIBS) -o wav
9 $(LIB): $(OBJS)
10 ar rv $(LIB) $(OBJS)
12 %.o: %.c
13 $(CC) $(DEFS) $(CFLAGS) -c $<
15 clean:
16 rm -f wav *.o *.a *.wav *.raw