diy DNS lookup tool
[rrq/rrqmisc.git] / vector / Makefile
index d5c718b64341a3deb1b25af9df2aeb48dd2da888..ea8e8de71a6b93c5d3f34c91553d173110fee597 100644 (file)
@@ -1,25 +1,7 @@
-LIBRARY = libvector.a
-LIBOBJS = vector.o hashvector.o
-LIBOBJS += integeritem.o  stringitem.o  tupleitem.o relation.o
+LIBRARY = librrqvector.a
+LIBOBJS = Vector.o HashVector.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