From: Clifford Wolf Date: Wed, 3 Jul 2013 21:54:43 +0000 (+0200) Subject: Added QMAKE makefile variable X-Git-Tag: yosys-0.2.0~557 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b294b391202bdac25c822cc06d7572249b38949;p=yosys.git Added QMAKE makefile variable --- diff --git a/Makefile b/Makefile index a84a787d0..a5e5282a4 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ all: top-all CXXFLAGS = -Wall -Wextra -ggdb -I"$(shell pwd)" -MD -D_YOSYS_ -fPIC LDFLAGS = -rdynamic LDLIBS = -lstdc++ -lreadline -lm -ldl +QMAKE = qmake-qt4 -include Makefile.conf @@ -80,7 +81,7 @@ yosys-config: yosys-config.in chmod +x yosys-config yosys-svgviewer: libs/svgviewer/*.h libs/svgviewer/*.cpp - cd libs/svgviewer && qmake-qt4 && make + cd libs/svgviewer && $(QMAKE) && make cp libs/svgviewer/svgviewer yosys-svgviewer abc: