summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 76ef581..bd82b1f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,16 @@
CFLAGS=-Wall -O0 -g -W -Wno-unused-parameter `pkg-config --cflags liboil-0.3` -DRANDOM_PREFIX=saspeex -DOUTSIDE_SPEEX -D_GNU_SOURCE -pthread
LIBS=-lm `pkg-config --libs liboil-0.3`
-SOURCES=common.c malloc.c oss.c bbuffer.c format.c volscale.c byteswap.c continued-fraction.c zero.c add.c speex/resample.c resample.c interleave.c converter.c g711.c mutex.c once.c thread.c
+SOURCES=common.c malloc.c oss.c bbuffer.c format.c volscale.c byteswap.c continued-fraction.c zero.c add.c speex/resample.c resample.c interleave.c converter.c g711.c mutex.c once.c thread.c bufferq.c # asyncq.c
OBJS=$(SOURCES:.c=.o)
-all: test-bufferq test-llist test-sine test-pull
+all: test-bufferq test-llist test-sine test-pull #test-asyncq
-test-bufferq: test-bufferq.o bufferq.o malloc.o
- $(CC) $(CFLAGS) -o $@ $^
+test-bufferq: test-bufferq.o bufferq.o malloc.o #$(OBJS)
+ $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
test-llist: test-llist.o
- $(CC) $(CFLAGS) -o $@ $^
+ $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
test-sine: $(OBJS) test-sine.o
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
@@ -18,6 +18,9 @@ test-sine: $(OBJS) test-sine.o
test-pull: $(OBJS) test-pull.o
$(CC) $(CFLAGS) -o $@ $^ $(LIBS)
+test-asyncq: $(OBJS) test-asyncq.o
+ $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
+
*.o: *.h
indent: