From 34ad5cf745e1a1c86243844433f9e2e202523a1e Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Sun, 30 Sep 2007 15:10:07 +0200 Subject: seems to work --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 717c58d..691835f 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ CFLAGS += -I$(DOVECOT)/src/imap/ # per-backend configuration ifeq ("$(BACKEND)", "dspam-exec") -CFLAGS += -DCONFIG_PLUGIN_WANT_SIGNATURE=1 +CFLAGS += -DBACKEND_WANT_SIGNATURE=1 # can take a while, check more often CFLAGS += -DCOPY_CHECK_INTERVAL=10 endif @@ -38,8 +38,11 @@ ALL = antispam all: verify_config $(ALL) +%.o: %.c .config + $(CC) -c $(CFLAGS) -o $@ $< + antispam: $(objs) - $(CC) $(CFLAGS) $(INCLUDES) $(objs) -o $@.so $(LDFLAGS) + $(CC) $(CFLAGS) $(objs) -o $@.so $(LDFLAGS) clean: rm -f *.so *.o *~ -- cgit v1.2.3