From 30b43f08955158d4f2066f4b50fe8d1241b3177b Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 16 May 2025 15:43:09 +0200 Subject: Remove configure + make build system. This commit also updates the README, cleans up some stuff and fixes some oopsies. --- Makefile | 51 +++------------------------------------------------ 1 file changed, 3 insertions(+), 48 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3a323b0..d50ffca 100644 --- a/Makefile +++ b/Makefile @@ -1,49 +1,4 @@ -include config.mk +all: + @echo "The build system for nissy has changed, use ./build" -all: nissy.o - -nissy.s: - ${CC} ${MACROS} ${CFLAGS} -c -S -o nissy.s src/nissy.c - -nissy.o: - ${CC} ${MACROS} ${CFLAGS} -c -o nissy.o src/nissy.c - -libnissy.a: nissy.o - ar rcs libnissy.a nissy.o - -libnissy.so: - ${CC} ${MACROS} ${CFLAGS} -c -shared -o libnissy.so src/nissy.c - -debugnissy.o: - ${CC} ${MACROS} ${DBGFLAGS} -c -o debugnissy.o src/nissy.c - -wasmnissy.o: - ${EMCC} ${MACROS} ${WASMFLAGS} -c -o wasmnissy.o src/nissy.c - -clean: - rm -rf *.out *.o *.s *.so run debugrun - -test: debugnissy.o - CC="${CC} ${MACROS} ${DBGFLAGS}" OBJ=debugnissy.o ./test/test.sh - -tool: nissy.o - mkdir -p tables tools/results - CC="${CC} ${MACROS} ${CFLAGS}" OBJ=nissy.o ./tools/tool.sh - -debugtool: debugnissy.o - mkdir -p tables tools/results - CC="${CC} ${MACROS} ${DBGFLAGS}" OBJ=debugnissy.o ./tools/tool.sh - -shell: nissy.o - mkdir -p tables - ${CC} ${MACROS} ${CFLAGS} -o run nissy.o shell/shell.c - -debugshell: debugnissy.o - mkdir -p tables - ${CC} ${MACROS} ${DBGFLAGS} -o debugrun debugnissy.o shell/shell.c - -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 python +.PHONY: all -- cgit v1.3