projects
/
rrq
/
rrqmisc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reorg fixup
[rrq/rrqmisc.git]
/
vector
/
Makefile
diff --git
a/vector/Makefile
b/vector/Makefile
index edd309ff154c3dce8f94f1176e099cd64aed4f1e..ea8e8de71a6b93c5d3f34c91553d173110fee597 100644
(file)
--- a/
vector/Makefile
+++ b/
vector/Makefile
@@
-1,26
+1,7
@@
-LIBRARY = libvector.a
-LIBOBJS = vector.o hashvector.o
-
-# This is overridable on command line
-VECTOR_LEVEL_BITS = 8
+LIBRARY = librrqvector.a
+LIBOBJS = Vector.o HashVector.o
default: $(LIBRARY)
default: $(LIBRARY)
-
-all: default
-
-CFLAGS = -Wall -g -fmax-errors=1 -DVECTOR_LEVEL_BITS=$(VECTOR_LEVEL_BITS)
-
-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)
CLEANRM += $(LIBRARY)
-$(LIBRARY): $(LIBOBJS)
- $(AR) r $@ $^
-clean:
- rm -f $(CLEANRM)
+include ../common.mk