From: Pierre Habouzit Date: Thu, 26 Apr 2007 15:16:25 +0000 (+0200) Subject: fix makefile, also drop libudns, we will likely use libanl X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=7698ffbf4645b4bccbaf8db0f395f2a7c8a445b0;p=apps%2Fpfixtools.git fix makefile, also drop libudns, we will likely use libanl Signed-off-by: Pierre Habouzit --- diff --git a/Makefile b/Makefile index bf0c2e5..19b5920 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ postlicyd_SOURCES = \ str.c buffer.c job.c postfix.c \ postlicyd.c -postlicyd_LIBADD = -ludns +postlicyd_LIBADD = -lanl # RULES ###################################################################{{{ @@ -71,6 +71,6 @@ headers: $(PROGRAMS): $$(patsubst %.c,.%.o,$$($$@_SOURCES)) Makefile $(CC) -o $@ $(CFLAGS) $(filter %.o,$^) $(LDFLAGS) $($@_LIBADD) $(filter %.a,$^) --include $(foreach p,$(PROGRAMS),$(patsubst %.c,.%.d,$(filter %.c,$p_SOURCES))) +-include $(foreach p,$(PROGRAMS),$(patsubst %.c,.%.d,$(filter %.c,$($p_SOURCES)))) ###########################################################################}}}