aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index b2e6da6..082b740 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,11 @@
1# Set TYPE="AVX2" manually for advanced vector instructions 1include config.mk
2CUBETYPE = CUBE_${TYPE}
3 2
4CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -O3 -mavx2
5DBGFLAGS = -DDEBUG -std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -g3 -fsanitize=address -fsanitize=undefined -mavx2
6
7CC = cc
8all: cube.o debugcube.o 3all: cube.o debugcube.o
9 4
10cube.o: clean 5cube.o: clean
11 ${CC} -D${CUBETYPE} ${CFLAGS} -c -o cube.o src/cube.c 6 ${CC} -D${CUBETYPE} ${CFLAGS} -c -o cube.o src/cube.c
12 7
13debugcube.o: clean 8debugcube.o:
14 ${CC} -D${CUBETYPE} ${DBGFLAGS} -c -o debugcube.o src/cube.c 9 ${CC} -D${CUBETYPE} ${DBGFLAGS} -c -o debugcube.o src/cube.c
15 10
16clean: 11clean:

Generated with cgit - Back to sebastiano.tronto.net