summaryrefslogtreecommitdiffstats
path: root/mbbsd/Makefile
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-22 12:32:38 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-22 12:32:38 +0800
commitdea6f126fe167ed6f452bd0616de7e6bdc24369d (patch)
tree703480f25ba74743e0a5c2c0805ebc986e688653 /mbbsd/Makefile
parentfdad7450c986504af7e74c66cbb5f60bb8f8e478 (diff)
downloadpttbbs-dea6f126fe167ed6f452bd0616de7e6bdc24369d.tar
pttbbs-dea6f126fe167ed6f452bd0616de7e6bdc24369d.tar.gz
pttbbs-dea6f126fe167ed6f452bd0616de7e6bdc24369d.tar.bz2
pttbbs-dea6f126fe167ed6f452bd0616de7e6bdc24369d.tar.lz
pttbbs-dea6f126fe167ed6f452bd0616de7e6bdc24369d.tar.xz
pttbbs-dea6f126fe167ed6f452bd0616de7e6bdc24369d.tar.zst
pttbbs-dea6f126fe167ed6f452bd0616de7e6bdc24369d.zip
move COMPILE_TIME from .mk to vers.c
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@954 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/Makefile')
-rw-r--r--mbbsd/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/Makefile b/mbbsd/Makefile
index c4c5c320..33db03b6 100644
--- a/mbbsd/Makefile
+++ b/mbbsd/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.25 2003/05/15 08:20:05 in2 Exp $
+# $Id: Makefile,v 1.26 2003/06/22 04:32:38 in2 Exp $
.include "../pttbbs.mk"
@@ -19,7 +19,8 @@ OBJS= admin.o announce.o args.o bbs.o board.o cache.o cal.o card.o\
all: $(PROG)
$(PROG): $(OBJS)
- $(CC) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS) $(EXT_LIBS)
+ sh ../util/newvers.sh
+ $(CC) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS) $(EXT_LIBS) vers.c
../include/var.h: var.c
perl ../util/parsevar.pl < var.c > ../include/var.h