summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-07-03 23:54:43 +0200
committerClifford Wolf <clifford@clifford.at>2013-07-03 23:54:43 +0200
commit3b294b391202bdac25c822cc06d7572249b38949 (patch)
treed3739028169f6d5123133d2ca9a08c93e298ab30
parentbe1fca342817447e7170593f364d86e94eff84fe (diff)
Added QMAKE makefile variable
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a84a787d..a5e5282a 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: