summaryrefslogtreecommitdiff
path: root/tools/makefile
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-08-03 22:03:33 -0700
committerJohn Denker <jsd@av8n.com>2012-12-02 11:55:48 -0700
commitc5a1da0c735c428a53596b31b32aae82a257c3bf (patch)
tree58bde4671ee61ebaef538950866aaa07b8c4f3b0 /tools/makefile
parent980c3a6b179be04eed463e8e04d22da18d915b48 (diff)
move spf_example here (from ~/hack)
Diffstat (limited to 'tools/makefile')
-rw-r--r--tools/makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/makefile b/tools/makefile
index 7d0afbf..8b31fdc 100644
--- a/tools/makefile
+++ b/tools/makefile
@@ -20,8 +20,8 @@ CFLAGS = -std=gnu++0x -Wall -g -I $(HOME)/lib/include
.SECONDARY : # do not remove any intermediate files
# sources for main programs that go in /var/qmail/bin
-qmain = pido.c hi-q.c skrewt.c hi-test.c mail-scan.c \
- greylist.c wripper.c ward.c
+qmain = pido.c hi-q.c skrewt.c hi-test.c mail-scan.c greylist.c \
+ wripper.c spf_example.c ward.c
qprogs = $(qmain:%.c=%)
@@ -46,6 +46,9 @@ beware_other = checkpassword.c spamc.c
all: $(qprogs) $(moreprogs) fixown2 ward
+spf_example : spf_example.o sepofra.o utils.o
+ $(CXX) $^ -lspf2 -o $@
+
show:
: --- $(qprogs) +++ $(moreprogs)