From 0bab0902591db5c54d15e9f56c3fde229365dceb Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Mon, 14 Jul 2014 20:13:59 +0200 Subject: [PATCH] modify makefiles --- acat2/makefile | 4 ++-- alib2data/makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/acat2/makefile b/acat2/makefile index eb7d7e9f27..83d14c4db2 100644 --- a/acat2/makefile +++ b/acat2/makefile @@ -79,7 +79,7 @@ test-obj/makefile: echo "SRCDIR:=" >> $@ echo "DEPTH:=" >> $@ echo "" >> $@ - echo "CXXFLAGS:= -std=c++11 -Og -g -c -Wall -pedantic -Wextra -I../\$$(DEPTH)src/ -I/usr/include/libxml2/" >> $@ + echo "CXXFLAGS:= -std=c++11 -Og -g -c -Wall -pedantic -Wextra -I../\$$(DEPTH)src/" >> $@ echo "" >> $@ echo "SOURCES:= \$$(shell find ../\$$(DEPTH)test-src/\$$(SRCDIR) -maxdepth 1 -type f -name \"*.cpp\")" >> $@ echo "DEPENDENCIES:= \$$(patsubst ../\$$(DEPTH)test-src/\$$(SRCDIR)%.cpp, ../\$$(DEPTH)test-obj/\$$(SRCDIR)%.d, \$$(SOURCES))" >> $@ @@ -120,7 +120,7 @@ test-obj/: FORCE | test-obj/makefile $(TEST_OBJECTS): test-obj/ test: test-bin/$(TESTBIN) - LD_LIBRARY_PATH=../alib2data/lib test-bin/$(TESTBIN) + LD_LIBRARY_PATH="../alib2data/lib" test-bin/$(TESTBIN) diff --git a/alib2data/makefile b/alib2data/makefile index c407d6c66f..fa998b0db5 100644 --- a/alib2data/makefile +++ b/alib2data/makefile @@ -120,7 +120,7 @@ test-obj/: FORCE | test-obj/makefile $(TEST_OBJECTS): test-obj/ test: test-bin/$(TESTBIN) - LD_LIBRARY_PATH=lib test-bin/$(TESTBIN) + LD_LIBRARY_PATH="lib" test-bin/$(TESTBIN) -- GitLab