- Makefile: include $(PWD) in PATH, since 'make test' can happen before 'make install'.
authorSiesh1oo <siesh1oo@siesh1oo.no>
Mon, 10 Mar 2014 19:27:39 +0000 (20:27 +0100)
committerSiesh1oo <siesh1oo@siesh1oo.no>
Tue, 11 Mar 2014 18:43:59 +0000 (19:43 +0100)
Makefile

index 75a8f42bbbf01f658dc295b978308505819847f9..9f888c8614cef3132699a09dec88f0da54cab365 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ CXXFLAGS = -Wall -Wextra -ggdb -I"$(shell pwd)" -I${DESTDIR}/include -MD -D_YOSY
 LDFLAGS = -L${DESTDIR}/lib
 LDLIBS = -lstdc++ -lreadline -lm -ldl
 
-export PATH := ${DESTDIR}/bin:$(PATH)
+export PATH := $(PWD):$(DESTDIR)/bin:$(PATH)
 
 ifeq (Darwin,$(findstring Darwin,$(shell uname)))
        # add macports include and library path to search directories, don't use '-rdynamic' and '-lrt':