- 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>
Mon, 10 Mar 2014 19:27:39 +0000 (20:27 +0100)
Makefile

index 849860a334e0f582e3d25b0a2599923bab52641a..ce9a99bc09c73ae9a5f747d930f70cf95c5687dc 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':