From 443bcd2592429fc709e13676c36d3f928beaad7a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 22 Jan 2014 18:26:38 +0100 Subject: no hardcoding of gpp command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 2 +- src/datastructures/linkedlists/CircularDoublyLinkedList.java | 2 +- src/datastructures/linkedlists/CircularSinglyLinkedList.java | 2 +- src/datastructures/linkedlists/DoublyLinkedList.java | 2 +- src/datastructures/linkedlists/HeadlessDoublyLinkedList.java | 2 +- src/datastructures/linkedlists/HeadlessSinglyLinkedList.java | 2 +- src/datastructures/linkedlists/SinglyLinkedList.java | 2 +- src/datastructures/linkedlists/TaillessDoublyLinkedList.java | 2 +- src/datastructures/linkedlists/TaillessSinglyLinkedList.java | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index c8a47c9..353e64b 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ obj/%.class: obj/%.java obj/%.java: src/%.java $(foreach F, $(PP), src/$(F)) mkdir -p "$(shell dirname "$@")" - $(GPP) -s £ < "$<" > "$@" + env GPP="$(GPP)" $(GPP) -s £ < "$<" > "$@" $(OBJ_LINKED_LISTS): src/datastructures/linkedlists/template diff --git a/src/datastructures/linkedlists/CircularDoublyLinkedList.java b/src/datastructures/linkedlists/CircularDoublyLinkedList.java index 5e3ba89..5ba0cef 100644 --- a/src/datastructures/linkedlists/CircularDoublyLinkedList.java +++ b/src/datastructures/linkedlists/CircularDoublyLinkedList.java @@ -38,5 +38,5 @@ package datastructures.linkedlists; */ public class CircularDoublyLinkedList £>export with_head=0 with_tail=0 with_prev=1 -£>gpp -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' +£>$GPP -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' diff --git a/src/datastructures/linkedlists/CircularSinglyLinkedList.java b/src/datastructures/linkedlists/CircularSinglyLinkedList.java index 0639083..49ddd83 100644 --- a/src/datastructures/linkedlists/CircularSinglyLinkedList.java +++ b/src/datastructures/linkedlists/CircularSinglyLinkedList.java @@ -38,5 +38,5 @@ package datastructures.linkedlists; */ public class CircularSinglyLinkedList £>export with_head=0 with_tail=0 with_prev=0 -£>gpp -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' +£>$GPP -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' diff --git a/src/datastructures/linkedlists/DoublyLinkedList.java b/src/datastructures/linkedlists/DoublyLinkedList.java index c84172c..3500e82 100644 --- a/src/datastructures/linkedlists/DoublyLinkedList.java +++ b/src/datastructures/linkedlists/DoublyLinkedList.java @@ -36,5 +36,5 @@ package datastructures.linkedlists; */ public class DoublyLinkedList £>export with_head=1 with_tail=1 with_prev=1 -£>gpp -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' +£>$GPP -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' diff --git a/src/datastructures/linkedlists/HeadlessDoublyLinkedList.java b/src/datastructures/linkedlists/HeadlessDoublyLinkedList.java index 23a59f1..e7ef98b 100644 --- a/src/datastructures/linkedlists/HeadlessDoublyLinkedList.java +++ b/src/datastructures/linkedlists/HeadlessDoublyLinkedList.java @@ -36,5 +36,5 @@ package datastructures.linkedlists; */ public class HeadlessDoublyLinkedList £>export with_head=0 with_tail=1 with_prev=1 -£>gpp -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' +£>$GPP -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' diff --git a/src/datastructures/linkedlists/HeadlessSinglyLinkedList.java b/src/datastructures/linkedlists/HeadlessSinglyLinkedList.java index 4bbff31..9ab46d1 100644 --- a/src/datastructures/linkedlists/HeadlessSinglyLinkedList.java +++ b/src/datastructures/linkedlists/HeadlessSinglyLinkedList.java @@ -45,5 +45,5 @@ package datastructures.linkedlists; */ public class HeadlessSinglyLinkedList £>export with_head=0 with_tail=1 with_prev=0 -£>gpp -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' +£>$GPP -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' diff --git a/src/datastructures/linkedlists/SinglyLinkedList.java b/src/datastructures/linkedlists/SinglyLinkedList.java index 9e39809..c14bc49 100644 --- a/src/datastructures/linkedlists/SinglyLinkedList.java +++ b/src/datastructures/linkedlists/SinglyLinkedList.java @@ -36,5 +36,5 @@ package datastructures.linkedlists; */ public class SinglyLinkedList £>export with_head=1 with_tail=1 with_prev=0 -£>gpp -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' +£>$GPP -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' diff --git a/src/datastructures/linkedlists/TaillessDoublyLinkedList.java b/src/datastructures/linkedlists/TaillessDoublyLinkedList.java index fa3c3e6..9ea9686 100644 --- a/src/datastructures/linkedlists/TaillessDoublyLinkedList.java +++ b/src/datastructures/linkedlists/TaillessDoublyLinkedList.java @@ -36,5 +36,5 @@ package datastructures.linkedlists; */ public class TaillessDoublyLinkedList £>export with_head=1 with_tail=0 with_prev=1 -£>gpp -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' +£>$GPP -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' diff --git a/src/datastructures/linkedlists/TaillessSinglyLinkedList.java b/src/datastructures/linkedlists/TaillessSinglyLinkedList.java index 2c66eb3..9dd3db8 100644 --- a/src/datastructures/linkedlists/TaillessSinglyLinkedList.java +++ b/src/datastructures/linkedlists/TaillessSinglyLinkedList.java @@ -35,5 +35,5 @@ package datastructures.linkedlists; */ public class TaillessSinglyLinkedList £>export with_head=1 with_tail=0 with_prev=0 -£>gpp -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' +£>$GPP -s £ < src/datastructures/linkedlists/template | sed -e '/^[/ ]\*/d' -- cgit v1.2.3-70-g09d2