blob: 99cd614322661789e53dbad5c08ef18ab828be8a (
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
all: $(TARGET)
install:
$(TARGET): $(OBJS)
$(AR) cru $@ $(OBJS)
ranlib $@
clean:
rm -f $(OBJS) $(TARGET)
|