From f076301f829cd83641259802d5bb9ef04f527946 Mon Sep 17 00:00:00 2001 From: wens Date: Fri, 13 Jun 2008 08:05:51 +0000 Subject: Makefile cleanup git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4349 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- common/sys/Makefile | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'common/sys/Makefile') 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 -- cgit v1.2.3