X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=common%2FMakefile;h=f0d990442795319ed808644dc72fcff4fd9f8dd2;hb=951c359eed1ce1d6894a3bf10855807f4c792978;hp=3f30e73d5be2566047ddfc8adcc3ea645ff59d1f;hpb=f840e396bc900fe05ad159e1ab06e5df63679ea3;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