From 9589072687726dd51776b0e952625ae1996f4721 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 16 Apr 2025 09:56:55 +0200 Subject: Added rudimentary QT UI --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c9a2c09..b72ceee 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ debugnissy.o: ${CC} ${MACROS} ${DBGFLAGS} -c -o debugnissy.o src/nissy.c clean: - rm -rf *.out *.o *.s *.so run debugrun + rm -rf *.out *.o *.s *.so run debugrun nissyqt qt/build test: debugnissy.o CC="${CC} ${MACROS} ${DBGFLAGS}" OBJ=debugnissy.o ./test/test.sh @@ -46,4 +46,10 @@ python: nissy.o ${CC} ${CFLAGS} -shared ${PYTHON3_INCLUDES} -o nissy_python_module.so \ nissy.o python/nissy_module.c -.PHONY: all clean test tool debugtool shell debugshell shelltest python +qt: nissy.o + mkdir -p qt/build + cd qt && cmake . -B build + cd qt/build && make + cp qt/build/appnissyqt ./nissyqt + +.PHONY: all clean test tool debugtool shell debugshell shelltest python qt -- cgit v1.3