summaryrefslogtreecommitdiffstats
path: root/common/sys/Makefile
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-27 01:26:28 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-27 01:26:28 +0800
commitb27ece46a69aa7d5b9a759a2164609dab689f258 (patch)
treead7387b6b59ecfc3215deec393d1c932db8d09af /common/sys/Makefile
parent1ac9e4897fdf8839328d9c47d1d2f0cc27b02f1d (diff)
downloadpttbbs-b27ece46a69aa7d5b9a759a2164609dab689f258.tar
pttbbs-b27ece46a69aa7d5b9a759a2164609dab689f258.tar.gz
pttbbs-b27ece46a69aa7d5b9a759a2164609dab689f258.tar.bz2
pttbbs-b27ece46a69aa7d5b9a759a2164609dab689f258.tar.lz
pttbbs-b27ece46a69aa7d5b9a759a2164609dab689f258.tar.xz
pttbbs-b27ece46a69aa7d5b9a759a2164609dab689f258.tar.zst
pttbbs-b27ece46a69aa7d5b9a759a2164609dab689f258.zip
(internal) refine directory layout: libbbs/libbbsutil -> common/bbs,sys.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4027 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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)