summaryrefslogblamecommitdiffstats
path: root/src/libbbs/Makefile
blob: b6eef8e7e4445a596938119184bf1a0b6116e391 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                   

              

        





                               

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

CFLAGS+=    -I$(SRCROOT)/include

OBJS=   log.o   string.o money.o
TARGET= libbbs.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)