summaryrefslogtreecommitdiffstats
path: root/mbbsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/Makefile')
-rw-r--r--mbbsd/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mbbsd/Makefile b/mbbsd/Makefile
index 886944f3..61690e6c 100644
--- a/mbbsd/Makefile
+++ b/mbbsd/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.1 2002/03/07 15:13:48 in2 Exp $
+# $Id: Makefile,v 1.2 2002/03/07 15:24:32 bbs Exp $
BBSHOME?=$(HOME)
OSTYPE=FreeBSD
@@ -37,6 +37,12 @@ all: $(PROG)
$(PROG): $(OBJS)
$(CC) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
+test: $(PROG)
+ killall -9 testmbbsd || true
+ cp mbbsd testmbbsd
+ ./testmbbsd 9000
+ rm -f testmbbsd
+
install: $(PROG)
install -d $(BBSHOME)/bin/
install -c -m 755 $(PROG) $(BBSHOME)/bin/