-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