diff options
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 | ||
