aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 9ae2a4f0d1e2f3a23af16c409f05b7a1a136c595 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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

Generated with cgit - Back to sebastiano.tronto.net