-LIBRARY = libvector.a
+LIBRARY = librrqvector.a
LIBOBJS = Vector.o HashVector.o
-LIBOBJS += 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