You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
350 B
27 lines
350 B
include ../Makefile.rules
|
|
|
|
OBJBASE = config.o \
|
|
system.o \
|
|
vector.o \
|
|
memoryleak.o
|
|
|
|
OBJ = $(OBJBASE)
|
|
SRC = $(OBJ:%.o=%.c)
|
|
|
|
all: libbase.a
|
|
|
|
libbase.a: $(OBJ)
|
|
$(AR) rcs libbase.a $(OBJ)
|
|
|
|
dep: $(SRC)
|
|
$(CC) -MM $(SRC) $(CFLAGS) > $(DEPENDFILE)
|
|
|
|
clean:
|
|
rm -rf *.o
|
|
rm -rf *.a
|
|
rm -rf *~
|
|
rm -rf $(DEPENDFILE)
|
|
|
|
-include $(DEPENDFILE)
|
|
|