aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-01-22 12:03:59 +0100
committerMattias Andrée <maandree@operamail.com>2014-01-22 12:03:59 +0100
commitd4e4d209c7b750a6ecd50acbe2e53566c2761d67 (patch)
treefef1d3eee65a3370945a1ae877aa46fb74cec787 /Makefile
parentreduce duplicate code (diff)
downloadalgorithms-and-data-structures-d4e4d209c7b750a6ecd50acbe2e53566c2761d67.tar.gz
algorithms-and-data-structures-d4e4d209c7b750a6ecd50acbe2e53566c2761d67.tar.bz2
algorithms-and-data-structures-d4e4d209c7b750a6ecd50acbe2e53566c2761d67.tar.xz
add doubly linked list
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6babc04..c8a47c9 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,8 @@ SRC = $(shell find src | grep '\.java$$')
PPD = $(shell find src | grep '\.java$$' | sed -e 's:^src:obj:')
OBJ = $(shell find src | grep '\.java$$' | sed -e 's:^src:obj:' | sed -e 's:java$$:class:')
+OBJ_LINKED_LISTS = $(shell find src/datastructures/linkedlists | grep 'LinkedList.java$$' | sed -e 's:^src:obj:')
+
.PHONY: all
all: $(OBJ)
@@ -18,7 +20,7 @@ obj/%.java: src/%.java $(foreach F, $(PP), src/$(F))
$(GPP) -s £ < "$<" > "$@"
-obj/datastructures/linkedlists/*.java: src/datastructures/linkedlists/template
+$(OBJ_LINKED_LISTS): src/datastructures/linkedlists/template
obj/algorithms/searching/MultiinterpolationSearch.class: obj/algorithms/searching/InterpolationSearch.class
obj/algorithms/searching/MultibinarySearch.class: obj/algorithms/searching/BinarySearch.class