summaryrefslogtreecommitdiffstats
path: root/mbbsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/Makefile')
-rw-r--r--mbbsd/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/mbbsd/Makefile b/mbbsd/Makefile
index 017f3d42..47ae7819 100644
--- a/mbbsd/Makefile
+++ b/mbbsd/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.7 2002/05/08 22:30:58 in2 Exp $
+# $Id: Makefile,v 1.8 2002/06/04 13:08:33 in2 Exp $
BBSHOME?=$(HOME)
OSTYPE=FreeBSD
@@ -46,7 +46,7 @@ OBJS= admin.o announce.o args.o bbcall.o bbs.o board.o cache.o cal.o card.o\
calendar.o
.SUFFIXES: .c .o
-.c.o:
+.c.o: ../include/var.h
$(CC) $(ADDFLAGS) $(CFLAGS) -c $*.c
all: $(PROG)
@@ -54,6 +54,9 @@ all: $(PROG)
$(PROG): $(OBJS)
$(CC) $(ADDFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
+../include/var.h: var.c
+ perl ../util/parsevar.pl < var.c > ../include/var.h
+
test: $(PROG)
killall -9 testmbbsd || true
cp mbbsd testmbbsd