From: Siesh1oo Date: Mon, 10 Mar 2014 19:27:39 +0000 (+0100) Subject: - Makefile: include $(PWD) in PATH, since 'make test' can happen before 'make install'. X-Git-Tag: yosys-0.3.0~57^2~1^2~6^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c17ee0f6dd5bb6e53ff0bf6da4650972323fc82d;p=yosys.git - Makefile: include $(PWD) in PATH, since 'make test' can happen before 'make install'. --- diff --git a/Makefile b/Makefile index 75a8f42bb..9f888c861 100644 --- 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':