diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-05-17 23:42:28 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-05-17 23:42:28 +0000 |
commit | 30562d7cba51a9879489ce88840c5f67ff873026 (patch) | |
tree | d9184295ec5310bab0e81c1caae463fec9e136b2 /Makefile | |
parent | bef6322859a5dc01e35d884de7afd2eabb1d9e4d (diff) |
basic threading model
git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@27 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,10 +1,10 @@ CFLAGS=-Wall -O0 -g -W -Wno-unused-parameter `pkg-config --cflags liboil-0.3` -DRANDOM_PREFIX=sa -DOUTSIDE_SPEEX -D_GNU_SOURCE -pthread LIBS=-lm `pkg-config --libs liboil-0.3` -SOURCES=common.c malloc.c test-sine.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 OBJS=$(SOURCES:.c=.o) -all: test-bufferq test-llist test-sine +all: test-bufferq test-llist test-sine test-pull test-bufferq: test-bufferq.o bufferq.o $(CC) $(CFLAGS) -o $@ $^ @@ -12,7 +12,10 @@ test-bufferq: test-bufferq.o bufferq.o test-llist: test-llist.o $(CC) $(CFLAGS) -o $@ $^ -test-sine: $(OBJS) +test-sine: $(OBJS) test-sine.o + $(CC) $(CFLAGS) -o $@ $^ $(LIBS) + +test-pull: $(OBJS) test-pull.o $(CC) $(CFLAGS) -o $@ $^ $(LIBS) *.o: *.h @@ -22,7 +25,7 @@ indent: # astyle --indent=spaces=4 --brackets=attach --indent-switches --max-instatement-indent=40 --pad=oper --unpad=paren --convert-tabs --mode=c < oss.c clean: - rm -f *.o meta-name-table.h test-bufferq test-llist test-sine + rm -f *.o meta-name-table.h test-bufferq test-llist test-sine core test-pull common.o: meta-name-table.h |