From 975762f620bffe4d75f92026d2c17551f3892254 Mon Sep 17 00:00:00 2001
From: Anders Blomdell <anders.blomdell@control.lth.se>
Date: Mon, 10 Jun 2013 16:24:44 +0200
Subject: [PATCH] Added LD_LIBRARY_PATH

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 375a244..c7be595 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ make-compiler:
 
 .PHONY: make-%
 make-%:
-	$(MAKE) -C $* -e 
+	LD_LIBRARY_PATH=`pwd`/lib/c $(MAKE) -C $* -e 
 
 .PHONY: test
 test: $(SUBDIRS:%=test-%)
@@ -20,7 +20,7 @@ test-compiler:
 
 .PHONY: test-%
 test-%:
-	$(MAKE) -C $* -e test
+	LD_LIBRARY_PATH=`pwd`/lib/c $(MAKE) -C $* -e test
 
 .PHONY: clean
 clean: $(SUBDIRS:%=clean-%)
-- 
GitLab