X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=common%2FMakefile;h=f0d990442795319ed808644dc72fcff4fd9f8dd2;hb=471db7e648c8a6b41e14ed90e370fe3b70af0e7f;hp=3f30e73d5be2566047ddfc8adcc3ea645ff59d1f;hpb=f47b916bf7581b0070431eb70f43710e4c79fc98;p=apps%2Fpfixtools.git diff --git a/common/Makefile b/common/Makefile index 3f30e73..f0d9904 100644 --- a/common/Makefile +++ b/common/Makefile @@ -32,9 +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