From f987f5af492f2ac9d5aeebd351bcb49175556af2 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Mon, 29 May 2023 01:06:09 +0200 Subject: Initial commit --- Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9ae2a4f --- /dev/null +++ b/Makefile @@ -0,0 +1,25 @@ +# See LICENSE file for copyright and license details. + +CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ + -Wno-unused-parameter -O3 +DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ + -Wno-unused-parameter -Wno-unused-function -g3 \ + -fsanitize=address -fsanitize=undefined + +CC = cc + +all: solve + +solve: clean + ${CC} ${CFLAGS} -o solve src/*.c + +debug: + ${CC} ${DBGFLAGS} -o solve src/*.c + +clean: + rm -rf solve + +test: + ./test/test.sh + +.PHONY: all debug clean test -- cgit v1.3