From 3e5e3d4078a7f999c56c16742f0ab5684b7a7b83 Mon Sep 17 00:00:00 2001 From: bbs Date: Thu, 7 Mar 2002 15:24:32 +0000 Subject: test :) git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@2 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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/ -- cgit v1.2.3