diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-05-13 00:48:38 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-05-13 00:48:38 +0000 |
commit | e8ef97ff9e0ff4e4ab2b0f24b5d13e4a9c151ef1 (patch) | |
tree | e36ce94c166f0cfbe072ae1693d2d998bbdfc79d /Makefile | |
parent | 559d26217310e5454c9cf5c80e49da51b192d7ca (diff) |
update Makefile, remove gcc warnings in gperf code
git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@6 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,7 +1,11 @@ CFLAGS=-Wall -O0 -g -W -Wno-unused-parameter `pkg-config --cflags liboil-0.3` -DRANDOM_PREFIX=sa -DOUTSIDE_SPEEX -D_GNU_SOURCE LIBS=-lm `pkg-config --libs liboil-0.3` -test-sine: common.o malloc.o test-sine.o oss.o bbuffer.o format.o volscale.o byteswap.o continued-fraction.o zero.o add.o speex/resample.o resample.o interleave.o converter.o g711.o +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 +OBJS=$(SOURCES:.c=.o) + + +test-sine: $(OBJS) $(CC) $(CFLAGS) -o $@ $^ $(LIBS) *.o: *.h @@ -13,9 +17,10 @@ indent: clean: rm -f *.o meta-name-table.h +common.o: meta-name-table.h meta-name-table.h: meta-name-table.gperf Makefile - gperf -t -N lookup_meta_name -H hash_meta_name -p -C < $< > $@ + gperf -t -N lookup_meta_name -H hash_meta_name -p -C < $< | sed -e 's/{""}/{"", 0}/g' > $@ fixme: find -name '*.c' -exec fgrep -H -A 3 -B 3 -i FIXME \{\} \; |