summaryrefslogtreecommitdiffstats
path: root/common/bbs/Makefile
blob: e3aae6e093dffe9ed110914d6b8b22cd8fe055dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

SRCROOT=    ../..
.include "$(SRCROOT)/pttbbs.mk"

CFLAGS+=    -I$(SRCROOT)/include

OBJS=   log.o file.o money.o names.o path.o string.o
# record.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)