aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..9ae2a4f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,25 @@
1# See LICENSE file for copyright and license details.
2
3CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \
4 -Wno-unused-parameter -O3
5DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \
6 -Wno-unused-parameter -Wno-unused-function -g3 \
7 -fsanitize=address -fsanitize=undefined
8
9CC = cc
10
11all: solve
12
13solve: clean
14 ${CC} ${CFLAGS} -o solve src/*.c
15
16debug:
17 ${CC} ${DBGFLAGS} -o solve src/*.c
18
19clean:
20 rm -rf solve
21
22test:
23 ./test/test.sh
24
25.PHONY: all debug clean test

Generated with cgit - Back to sebastiano.tronto.net