Added QMAKE makefile variable

This commit is contained in:
Clifford Wolf 2013-07-03 23:54:43 +02:00
parent be1fca3428
commit 3b294b3912
1 changed files with 2 additions and 1 deletions

View File

@ -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: