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/sys | |
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/sys')
-rw-r--r-- | common/sys/Makefile | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/common/sys/Makefile b/common/sys/Makefile index 9c7bb257..39598f86 100644 --- a/common/sys/Makefile +++ b/common/sys/Makefile @@ -1,22 +1,13 @@ +MKLINT:=no +MKPROFILE:=no +MKPIC:=no SRCROOT= ../.. .include "$(SRCROOT)/pttbbs.mk" -OBJS= file.o lock.o log.o net.o sort.o string.o time.o crypt.o osdep.o -TARGET= libcmsys.a - - -.SUFFIXES: .c .o -.c.o: - $(CCACHE) $(DIETCC) $(CC) $(CFLAGS) -c $*.c - -all: $(TARGET) +SRCS:= file.c lock.c log.c net.c sort.c string.c time.c crypt.c osdep.c +LIB:= cmsys install: -$(TARGET): $(OBJS) - $(AR) cru $@ $(OBJS) - ranlib $@ - -clean: - rm -f $(OBJS) $(TARGET) +.include <bsd.lib.mk> |