summaryrefslogtreecommitdiffstats
path: root/common/sys
diff options
context:
space:
mode:
Diffstat (limited to 'common/sys')
-rw-r--r--common/sys/Makefile21
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>