summaryrefslogtreecommitdiffstats
path: root/common/sys/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'common/sys/Makefile')
-rw-r--r--common/sys/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/common/sys/Makefile b/common/sys/Makefile
new file mode 100644
index 00000000..4c696ea8
--- /dev/null
+++ b/common/sys/Makefile
@@ -0,0 +1,24 @@
+
+SRCROOT= ../..
+.include "$(SRCROOT)/pttbbs.mk"
+
+CFLAGS+= -I$(SRCROOT)/include
+
+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)
+
+install:
+
+$(TARGET): $(OBJS)
+ $(AR) cru $@ $(OBJS)
+ ranlib $@
+
+clean:
+ rm -f $(OBJS) $(TARGET)