summaryrefslogblamecommitdiffstats
path: root/common/sys/Makefile
blob: 4c696ea81cb72ae786511edcf389c741e634dd5b (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 crypt.o osdep.o
TARGET= libcmsys.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)