diff options
Diffstat (limited to 'common/bbs/Makefile')
-rw-r--r-- | common/bbs/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/common/bbs/Makefile b/common/bbs/Makefile new file mode 100644 index 00000000..6ed3e554 --- /dev/null +++ b/common/bbs/Makefile @@ -0,0 +1,24 @@ + +SRCROOT= ../.. +.include "$(SRCROOT)/pttbbs.mk" + +CFLAGS+= -I$(SRCROOT)/include + +OBJS= log.o string.o money.o +TARGET= libcmbbs.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) |