From: Ralph Ronnquist Date: Sat, 25 Jun 2022 22:54:37 +0000 (+1000) Subject: added the qvector variant X-Git-Tag: 0.1~16 X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=4892805c03dca71588c2126794c28ad28c280948;p=rrq%2Frrqmisc.git added the qvector variant --- diff --git a/pvector/Makefile b/pvector/Makefile index 170aa4a..be1ab86 100644 --- a/pvector/Makefile +++ b/pvector/Makefile @@ -1,16 +1,22 @@ -default: libpvector.a +default: libpvector.a all: default example-hashvector example-pvector #.INTERMEDIATE: pvector.o pvector.o: CFLAGS = -Wall -g pvector.o: pvector.c | pvector.h +CLEANRM += pvector.o -#.INTERMEDIATE: pvector.o +#.INTERMEDIATE: qvector.o +qvector.o: CFLAGS = -Wall -g +qvector.o: qvector.c | qvector.h +CLEANRM += qvector.o + +#.INTERMEDIATE: hashvector.o hashvector.o: CFLAGS = -Wall -g hashvector.o: hashvector.c | pvector.h hashvector.h -libpvector.a: pvector.o hashvector.o +libpvector.a: pvector.o qvector.o hashvector.o $(AR) r $@ $^ CLEANRM += libpvector.a