Reload strlist and iplist resource-files only when needed.
[apps/pfixtools.git] / common / Makefile
index 6a57421..f0d9904 100644 (file)
@@ -37,4 +37,6 @@ 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