From fc8bdd6c8ad23868dc3722104eb710f01da03ef9 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 4 Nov 2023 21:57:21 +0100 Subject: Revert "Makefile changes" This reverts commit 93260168ed02de2eebd456e345c25f9066bb3a2c. --- Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b2e6da6..082b740 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,11 @@ -# Set TYPE="AVX2" manually for advanced vector instructions -CUBETYPE = CUBE_${TYPE} +include config.mk -CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -O3 -mavx2 -DBGFLAGS = -DDEBUG -std=c99 -pthread -pedantic -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -g3 -fsanitize=address -fsanitize=undefined -mavx2 - -CC = cc all: cube.o debugcube.o cube.o: clean ${CC} -D${CUBETYPE} ${CFLAGS} -c -o cube.o src/cube.c -debugcube.o: clean +debugcube.o: ${CC} -D${CUBETYPE} ${DBGFLAGS} -c -o debugcube.o src/cube.c clean: -- cgit v1.3