X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=vector%2FMakefile;h=ea8e8de71a6b93c5d3f34c91553d173110fee597;hb=e411c193f38430e0f3eef487c5ef85f99f96bf2c;hp=0fb332e827317d0684e92bef571a038b3c5083b5;hpb=475928381654054e66270d48001c1a9b6e4258b6;p=rrq%2Frrqmisc.git diff --git a/vector/Makefile b/vector/Makefile index 0fb332e..ea8e8de 100644 --- a/vector/Makefile +++ b/vector/Makefile @@ -1,23 +1,7 @@ -LIBRARY = libvector.a -LIBOBJS = vector.o hashvector.o +LIBRARY = librrqvector.a +LIBOBJS = Vector.o HashVector.o default: $(LIBRARY) - -all: default - -CFLAGS = -Wall -g -fmax-errors=1 -I. - -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