diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-16 09:56:55 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-16 09:56:55 +0200 |
| commit | 9589072687726dd51776b0e952625ae1996f4721 (patch) | |
| tree | 2dbc63de0b3e5805b5dca2919d05b4356c1194a4 /Makefile | |
| parent | dc5e8188a7e29909cbdf661e9b2a80700fe0491d (diff) | |
| download | nissy-core-9589072687726dd51776b0e952625ae1996f4721.tar.gz nissy-core-9589072687726dd51776b0e952625ae1996f4721.zip | |
Added rudimentary QT UI
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
| @@ -18,7 +18,7 @@ debugnissy.o: | |||
| 18 | ${CC} ${MACROS} ${DBGFLAGS} -c -o debugnissy.o src/nissy.c | 18 | ${CC} ${MACROS} ${DBGFLAGS} -c -o debugnissy.o src/nissy.c |
| 19 | 19 | ||
| 20 | clean: | 20 | clean: |
| 21 | rm -rf *.out *.o *.s *.so run debugrun | 21 | rm -rf *.out *.o *.s *.so run debugrun nissyqt qt/build |
| 22 | 22 | ||
| 23 | test: debugnissy.o | 23 | test: debugnissy.o |
| 24 | CC="${CC} ${MACROS} ${DBGFLAGS}" OBJ=debugnissy.o ./test/test.sh | 24 | CC="${CC} ${MACROS} ${DBGFLAGS}" OBJ=debugnissy.o ./test/test.sh |
| @@ -46,4 +46,10 @@ python: nissy.o | |||
| 46 | ${CC} ${CFLAGS} -shared ${PYTHON3_INCLUDES} -o nissy_python_module.so \ | 46 | ${CC} ${CFLAGS} -shared ${PYTHON3_INCLUDES} -o nissy_python_module.so \ |
| 47 | nissy.o python/nissy_module.c | 47 | nissy.o python/nissy_module.c |
| 48 | 48 | ||
| 49 | .PHONY: all clean test tool debugtool shell debugshell shelltest python | 49 | qt: nissy.o |
| 50 | mkdir -p qt/build | ||
| 51 | cd qt && cmake . -B build | ||
| 52 | cd qt/build && make | ||
| 53 | cp qt/build/appnissyqt ./nissyqt | ||
| 54 | |||
| 55 | .PHONY: all clean test tool debugtool shell debugshell shelltest python qt | ||
