X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=vector%2FMakefile;h=a3feec435d9f38d957cc082763f0d6ad8760801f;hb=48cdb87442b7b3f1cdde9c1710ed90ec773dce97;hp=edd309ff154c3dce8f94f1176e099cd64aed4f1e;hpb=5a02e98f44e95db2660e1468c5765d924af68534;p=rrq%2Frrqmisc.git diff --git a/vector/Makefile b/vector/Makefile index edd309f..a3feec4 100644 --- a/vector/Makefile +++ b/vector/Makefile @@ -1,14 +1,22 @@ LIBRARY = libvector.a -LIBOBJS = vector.o hashvector.o - -# This is overridable on command line -VECTOR_LEVEL_BITS = 8 +LIBOBJS = Vector.o HashVector.o +LIBOBJS += Tuple.o TupleSchema.o integeritem.o stringitem.o Binding.o +LIBOBJS += BindingTable.o Relation.o Query.o +LIBOBJS += AssignQuery.o RelationQuery.o +LIBOBJS += NotQuery.o AndQuery.o OrQuery.o +#LIBOBJS += View.o default: $(LIBRARY) all: default -CFLAGS = -Wall -g -fmax-errors=1 -DVECTOR_LEVEL_BITS=$(VECTOR_LEVEL_BITS) +CFLAGS = -Wall -g -fmax-errors=1 -I. +LDLIBS = -lm + +%.h: + echo "#ifndef ${@:.h=_H}" > $@ + echo "#define ${@:.h=_H}" >> $@ + echo "#endif" >> $@ define STDCC .INTERMEDIATE: $1.o