aboutsummaryrefslogtreecommitdiff
path: root/qt-quick/Makefile
blob: 3132ab2dc1be2027a7558b7c8bb2423b811c71ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
all: nissyqt

build:
	mkdir -p build

build/nissy.h:
	cp ../nissy-core/cpp/nissy.h build/

build/nissy.cpp:
	cp ../nissy-core/cpp/nissy.cpp build/

../nissy-core/config.mk:
	cd ../nissy-core && ./configure.sh

build/nissy.o: build ../nissy-core/config.mk
	cd ../nissy-core && make nissy.o
	cp ../nissy-core/nissy.o build/

nissyqt: build/nissy.o build/nissy.h build/nissy.cpp
	cmake . -B build
	cd build && make
	cp build/appnissyqt ./run

run:
	QT_LOGGING_RULES="*.debug=true; qt.*.debug=false" ./run

clean:
	rm -rf run build

.PHONY: all nissyqt run clean

Generated with cgit - Back to sebastiano.tronto.net