- 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>
Wed, 12 Mar 2014 13:00:40 +0000 (14:00 +0100)
Makefile

index 39b324b4d421458779375c0b0a687a122ed087c4..9460e3413d868f915ef585d90a6e53b425c8865c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,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':