diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-11-04 21:57:21 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-11-04 21:57:21 +0100 |
| commit | fc8bdd6c8ad23868dc3722104eb710f01da03ef9 (patch) | |
| tree | bc47ade8eb832d003e062ffaa2be6e26c185413a /Makefile | |
| parent | 93260168ed02de2eebd456e345c25f9066bb3a2c (diff) | |
| download | nissy-core-fc8bdd6c8ad23868dc3722104eb710f01da03ef9.tar.gz nissy-core-fc8bdd6c8ad23868dc3722104eb710f01da03ef9.zip | |
Revert "Makefile changes"
This reverts commit 93260168ed02de2eebd456e345c25f9066bb3a2c.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
| @@ -1,16 +1,11 @@ | |||
| 1 | # Set TYPE="AVX2" manually for advanced vector instructions | 1 | include config.mk |
| 2 | CUBETYPE = CUBE_${TYPE} | ||
| 3 | 2 | ||
| 4 | CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -O3 -mavx2 | ||
| 5 | DBGFLAGS = -DDEBUG -std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -g3 -fsanitize=address -fsanitize=undefined -mavx2 | ||
| 6 | |||
| 7 | CC = cc | ||
| 8 | all: cube.o debugcube.o | 3 | all: cube.o debugcube.o |
| 9 | 4 | ||
| 10 | cube.o: clean | 5 | cube.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 | ||
| 13 | debugcube.o: clean | 8 | debugcube.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 | ||
| 16 | clean: | 11 | clean: |
