From 94eeb4478b69e15f9a3c78176eac642aab95faf3 Mon Sep 17 00:00:00 2001 From: piaip Date: Sun, 4 May 2008 16:33:45 +0000 Subject: - (internal) workaround - fix build dependency for var.h git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4267 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- common/bbs/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'common') 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 $@ -- cgit v1.2.3