summaryrefslogtreecommitdiffstats
path: root/mbbsd/Makefile
diff options
context:
space:
mode:
authorbbs <bbs@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-07 23:24:32 +0800
committerbbs <bbs@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-03-07 23:24:32 +0800
commit3e5e3d4078a7f999c56c16742f0ab5684b7a7b83 (patch)
tree767f91a3e57673b61f0e4d6df1498815e646c319 /mbbsd/Makefile
parentae31e19f92e717919ac8e3db9039eb38d2b89aae (diff)
downloadpttbbs-3e5e3d4078a7f999c56c16742f0ab5684b7a7b83.tar
pttbbs-3e5e3d4078a7f999c56c16742f0ab5684b7a7b83.tar.gz
pttbbs-3e5e3d4078a7f999c56c16742f0ab5684b7a7b83.tar.bz2
pttbbs-3e5e3d4078a7f999c56c16742f0ab5684b7a7b83.tar.lz
pttbbs-3e5e3d4078a7f999c56c16742f0ab5684b7a7b83.tar.xz
pttbbs-3e5e3d4078a7f999c56c16742f0ab5684b7a7b83.tar.zst
pttbbs-3e5e3d4078a7f999c56c16742f0ab5684b7a7b83.zip
test :)
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@2 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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/