X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=vector%2FMakefile;h=ea8e8de71a6b93c5d3f34c91553d173110fee597;hb=d6f70b77023f9682bf2c65428068a6897dd16ce3;hp=6d3da9202730c97e636444c9295515f3c6875d91;hpb=58de9483c458a25a691d648ce13b81227c327d03;p=rrq%2Frrqmisc.git diff --git a/vector/Makefile b/vector/Makefile index 6d3da92..ea8e8de 100644 --- a/vector/Makefile +++ b/vector/Makefile @@ -1,27 +1,7 @@ -LIBRARY = libvector.a +LIBRARY = librrqvector.a LIBOBJS = Vector.o HashVector.o -LIBOBJS += Tuple.o TupleSchema.o integeritem.o stringitem.o -LIBOBJS += Relation.o -LIBOBJS += BindingTable.o Query.o default: $(LIBRARY) - -all: default - -CFLAGS = -Wall -g -fmax-errors=1 -I. -LDLIBS = -lm - -define STDCC -.INTERMEDIATE: $1.o -CLEANRM += $1.o -$1.o: $1.c | $1.h -endef - -$(foreach OBJ,$(LIBOBJS:.o=),$(eval $(call STDCC,$(OBJ)))) - CLEANRM += $(LIBRARY) -$(LIBRARY): $(LIBOBJS) - $(AR) r $@ $^ -clean: - rm -f $(CLEANRM) +include ../common.mk