diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-05-05 00:33:45 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-05-05 00:33:45 +0800 |
commit | 94eeb4478b69e15f9a3c78176eac642aab95faf3 (patch) | |
tree | df5289c37cd22930f0f620776d6c652ac2839f28 | |
parent | 8b0e5fff59aeff305b903c5bdd629a2e0bdff6a7 (diff) | |
download | pttbbs-94eeb4478b69e15f9a3c78176eac642aab95faf3.tar pttbbs-94eeb4478b69e15f9a3c78176eac642aab95faf3.tar.gz pttbbs-94eeb4478b69e15f9a3c78176eac642aab95faf3.tar.bz2 pttbbs-94eeb4478b69e15f9a3c78176eac642aab95faf3.tar.lz pttbbs-94eeb4478b69e15f9a3c78176eac642aab95faf3.tar.xz pttbbs-94eeb4478b69e15f9a3c78176eac642aab95faf3.tar.zst pttbbs-94eeb4478b69e15f9a3c78176eac642aab95faf3.zip |
- (internal) workaround - fix build dependency for var.h
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4267 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | common/bbs/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/bbs/Makefile b/common/bbs/Makefile index bb99c29f..94a9eade 100644 --- a/common/bbs/Makefile +++ b/common/bbs/Makefile @@ -10,13 +10,16 @@ TARGET= libcmbbs.a .SUFFIXES: .c .o -.c.o: +.c.o: $(SRCROOT)/include/var.h $(CCACHE) $(DIETCC) $(CC) $(CFLAGS) -c $*.c all: $(TARGET) install: +$(SRCROOT)/include/var.h: $(SRCROOT)/mbbsd/var.c + perl $(SRCROOT)/util/parsevar.pl < $(SRCROOT)/mbbsd/var.c > $(SRCROOT)/include/var.h + $(TARGET): $(OBJS) $(AR) cru $@ $(OBJS) ranlib $@ |