aboutsummaryrefslogtreecommitdiff
path: root/qt-quick/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'qt-quick/Makefile')
-rw-r--r--qt-quick/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/qt-quick/Makefile b/qt-quick/Makefile
new file mode 100644
index 0000000..3132ab2
--- /dev/null
+++ b/qt-quick/Makefile
@@ -0,0 +1,30 @@
1all: nissyqt
2
3build:
4 mkdir -p build
5
6build/nissy.h:
7 cp ../nissy-core/cpp/nissy.h build/
8
9build/nissy.cpp:
10 cp ../nissy-core/cpp/nissy.cpp build/
11
12../nissy-core/config.mk:
13 cd ../nissy-core && ./configure.sh
14
15build/nissy.o: build ../nissy-core/config.mk
16 cd ../nissy-core && make nissy.o
17 cp ../nissy-core/nissy.o build/
18
19nissyqt: build/nissy.o build/nissy.h build/nissy.cpp
20 cmake . -B build
21 cd build && make
22 cp build/appnissyqt ./run
23
24run:
25 QT_LOGGING_RULES="*.debug=true; qt.*.debug=false" ./run
26
27clean:
28 rm -rf run build
29
30.PHONY: all nissyqt run clean

Generated with cgit - Back to sebastiano.tronto.net