summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-10 18:51:24 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-04-10 18:51:24 +0800
commit6ae1a394768d4082b5fb2b80d7603846bc2c1aff (patch)
tree62a2171b6859601b7f7d62c5193649bafe6073b5
parent56803c5924564e0149febc94b74dd4b4afe118c4 (diff)
downloadpttbbs-6ae1a394768d4082b5fb2b80d7603846bc2c1aff.tar
pttbbs-6ae1a394768d4082b5fb2b80d7603846bc2c1aff.tar.gz
pttbbs-6ae1a394768d4082b5fb2b80d7603846bc2c1aff.tar.bz2
pttbbs-6ae1a394768d4082b5fb2b80d7603846bc2c1aff.tar.lz
pttbbs-6ae1a394768d4082b5fb2b80d7603846bc2c1aff.tar.xz
pttbbs-6ae1a394768d4082b5fb2b80d7603846bc2c1aff.tar.zst
pttbbs-6ae1a394768d4082b5fb2b80d7603846bc2c1aff.zip
mbbsd's serial
-O only git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@98 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/mbbsd/Makefile b/mbbsd/Makefile
index 5919b885..4169ccb6 100644
--- a/mbbsd/Makefile
+++ b/mbbsd/Makefile
@@ -1,16 +1,16 @@
-# $Id: Makefile,v 1.4 2002/03/29 13:45:28 ptt Exp $
+# $Id: Makefile,v 1.5 2002/04/10 10:51:24 in2 Exp $
BBSHOME?=$(HOME)
OSTYPE=FreeBSD
# FreeBSD
-CFLAGS_FreeBSD= -pipe -Wall -g -O3 -DHAVE_SETPROCTITLE -DBBSHOME='"$(BBSHOME)"' -DFreeBSD -I../include
-LDFLAGS_FreeBSD=-pipe -Wall -g -O3
+CFLAGS_FreeBSD= -pipe -Wall -g -O -DHAVE_SETPROCTITLE -DBBSHOME='"$(BBSHOME)"' -DFreeBSD -I../include
+LDFLAGS_FreeBSD=-pipe -Wall -g -O
LIBS_FreeBSD= -lutil -lkvm
# Linux
-CFLAGS_linux= -pipe -Wall -g -O3 -DHAVE_DES_CRYPT -DBBSHOME='"$(BBSHOME)"' -DLinux -I../include -s
-LDFLAGS_linux= -pipe -Wall -g -O3
+CFLAGS_linux= -pipe -Wall -g -O -DHAVE_DES_CRYPT -DBBSHOME='"$(BBSHOME)"' -DLinux -I../include -s
+LDFLAGS_linux= -pipe -Wall -g -O
LIBS_linux= -lcrypt
CFLAGS= $(CFLAGS_$(OSTYPE))
@@ -46,6 +46,8 @@ test: $(PROG)
install: $(PROG)
install -d $(BBSHOME)/bin/
install -c -m 755 $(PROG) $(BBSHOME)/bin/
+ mv $(BBSHOME)/bin/mbbsd $(BBSHOME)/bin/mbbsd.`date '+%m%d%H'`
+ ln -sv $(BBSHOME)/bin/mbbsd.`date '+%m%d%H'` $(BBSHOME)/bin/mbbsd
clean:
rm -f $(OBJS) $(PROG)