X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=common%2FMakefile;h=f0d990442795319ed808644dc72fcff4fd9f8dd2;hb=56eeb7d73ed0c82f2a8165b6aba525af73c58f73;hp=be9d4735fe1665312b8393803cd1fd19f05def48;hpb=91da9fe6f37e6a82b226622e1a3e90ee85a9a138;p=apps%2Fpfixtools.git diff --git a/common/Makefile b/common/Makefile index be9d473..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 rbl.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