summaryrefslogtreecommitdiffstats
path: root/common/bbs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'common/bbs/Makefile')
-rw-r--r--common/bbs/Makefile27
1 files changed, 7 insertions, 20 deletions
diff --git a/common/bbs/Makefile b/common/bbs/Makefile
index 99086258..b93cada1 100644
--- a/common/bbs/Makefile
+++ b/common/bbs/Makefile
@@ -1,26 +1,13 @@
+MKLINT:=no
+MKPROFILE:=no
+MKPIC:=no
-SRCROOT= ../..
+SRCROOT:= ../..
.include "$(SRCROOT)/pttbbs.mk"
-OBJS= log.o file.o money.o names.o path.o time.o string.o
-# record.o
-TARGET= libcmbbs.a
-
-
-.SUFFIXES: .c .o
-.c.o: $(SRCROOT)/include/var.h
- $(CCACHE) $(DIETCC) $(CC) $(CFLAGS) -c $*.c
-
-all: $(TARGET)
+SRCS:= log.c file.c money.c names.c path.c time.c string.c # record.c
+LIB:= cmbbs
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 $@
-
-clean:
- rm -f $(OBJS) $(TARGET)
+.include <bsd.lib.mk>