diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-04 21:08:35 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-04 21:08:35 +0800 |
commit | 9e81baf8352b3d525c9a1459f28dae6b540988e3 (patch) | |
tree | a558e73187b9d45b59280a79c927e7f8bb315623 /mbbsd/Makefile | |
parent | e42291049072cfee02408394850b33b3580dbd83 (diff) | |
download | pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.gz pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.bz2 pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.lz pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.xz pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.zst pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.zip |
global variable move to var.c
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/Makefile')
-rw-r--r-- | mbbsd/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mbbsd/Makefile b/mbbsd/Makefile index 017f3d42..47ae7819 100644 --- a/mbbsd/Makefile +++ b/mbbsd/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.7 2002/05/08 22:30:58 in2 Exp $ +# $Id: Makefile,v 1.8 2002/06/04 13:08:33 in2 Exp $ BBSHOME?=$(HOME) OSTYPE=FreeBSD @@ -46,7 +46,7 @@ OBJS= admin.o announce.o args.o bbcall.o bbs.o board.o cache.o cal.o card.o\ calendar.o .SUFFIXES: .c .o -.c.o: +.c.o: ../include/var.h $(CC) $(ADDFLAGS) $(CFLAGS) -c $*.c all: $(PROG) @@ -54,6 +54,9 @@ all: $(PROG) $(PROG): $(OBJS) $(CC) $(ADDFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS) +../include/var.h: var.c + perl ../util/parsevar.pl < var.c > ../include/var.h + test: $(PROG) killall -9 testmbbsd || true cp mbbsd testmbbsd |