X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=common%2FMakefile;h=f0d990442795319ed808644dc72fcff4fd9f8dd2;hb=9cc886da4800f588e2b4530a87694b75e31d38f5;hp=37200691a0f4b7beee86937481c3fa9e590d9826;hpb=193694fdba386a89b4b2a83ce803764302995e89;p=apps%2Fpfixtools.git diff --git a/common/Makefile b/common/Makefile index 3720069..f0d9904 100644 --- a/common/Makefile +++ b/common/Makefile @@ -32,7 +32,11 @@ LIBS = lib TESTS = tst-trie -lib_SOURCES = str.c buffer.c common.c epoll.c server.c trie.c file.c +lib_SOURCES = str.c buffer.c common.c server.c trie.c file.c rbl.c tst-trie_SOURCES = tst-trie.c lib.a +all: + +.server.o: CFLAGS=$(if $(DARWIN),$(filter-out -Wredundant-decls,$(filter-out -Wshadow,$(CFLAGSBASE))),$(CFLAGSBASE)) + include ../mk/common.mk