summaryrefslogblamecommitdiffstats
path: root/src/libbbsutil/Makefile
blob: eafe2ab50759b28cecf8f8182b3f7d16889ff241 (plain) (tree)



















                                                                      

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

CFLAGS+=    -I$(SRCROOT)/include

OBJS=   file.o  lock.o  log.o   net.o   sort.o  string.o    time.o
TARGET= libbbsutil.a


.SUFFIXES: .c .o
.c.o:
    $(CCACHE) $(DIETCC) $(CC) $(CFLAGS) -c $*.c

$(TARGET): $(OBJS)
    $(AR) cru $@ $(OBJS)
    ranlib $@

clean:
    rm -f $(OBJS) $(TARGET)