From 716e41fb8d8e2f7faa06ba26c6eea8fc19c5712a Mon Sep 17 00:00:00 2001 From: wens Date: Sun, 18 Jun 2006 06:36:46 +0000 Subject: build banned ip list on compile git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3374 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mbbsd/Makefile') diff --git a/mbbsd/Makefile b/mbbsd/Makefile index a635cb48..fb7d1638 100644 --- a/mbbsd/Makefile +++ b/mbbsd/Makefile @@ -47,6 +47,12 @@ $(PROG): $(OBJS) ../include/var.h: var.c perl ../util/parsevar.pl < var.c > ../include/var.h +../include/banip.h: ../util/banip.pl + perl ../util/banip.pl > $@ + +mbbsd.o: mbbsd.c ../include/var.h ../include/banip.h + $(CCACHE) $(DIETCC) $(CC) $(CFLAGS) -c $< + test: $(PROG) killall -9 testmbbsd || true cp mbbsd testmbbsd -- cgit v1.2.3