diff options
Diffstat (limited to 'common/bbs/Makefile')
-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 $@ |