aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2023-11-04 21:57:21 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2023-11-04 21:57:21 +0100
commitfc8bdd6c8ad23868dc3722104eb710f01da03ef9 (patch)
treebc47ade8eb832d003e062ffaa2be6e26c185413a /Makefile
parent93260168ed02de2eebd456e345c25f9066bb3a2c (diff)
downloadnissy-core-fc8bdd6c8ad23868dc3722104eb710f01da03ef9.tar.gz
nissy-core-fc8bdd6c8ad23868dc3722104eb710f01da03ef9.zip
Revert "Makefile changes"
This reverts commit 93260168ed02de2eebd456e345c25f9066bb3a2c.
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