diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-06-13 16:05:51 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-06-13 16:05:51 +0800 |
commit | f076301f829cd83641259802d5bb9ef04f527946 (patch) | |
tree | 43c2c96c5a8237cdc358bb830d08f6b57b2689c8 /common/bbs/Makefile | |
parent | 05edd556caefcf9b30686d4d3d8c0f1d57153d36 (diff) | |
download | pttbbs-f076301f829cd83641259802d5bb9ef04f527946.tar pttbbs-f076301f829cd83641259802d5bb9ef04f527946.tar.gz pttbbs-f076301f829cd83641259802d5bb9ef04f527946.tar.bz2 pttbbs-f076301f829cd83641259802d5bb9ef04f527946.tar.lz pttbbs-f076301f829cd83641259802d5bb9ef04f527946.tar.xz pttbbs-f076301f829cd83641259802d5bb9ef04f527946.tar.zst pttbbs-f076301f829cd83641259802d5bb9ef04f527946.zip |
Makefile cleanup
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4349 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'common/bbs/Makefile')
-rw-r--r-- | common/bbs/Makefile | 27 |
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> |