Fix bugs and improve build system

Fix bug if ANIMATE define is set
Move all defines to config.mk
Add clangd generation in Makefile
Move ICC to ICX config
This commit is contained in:
2025-11-05 10:29:31 +01:00
parent 3408d39545
commit 38a96ddf8d
9 changed files with 39 additions and 20 deletions

View File

@@ -9,10 +9,7 @@ LIBS = # -lomp
endif
VERSION = --version
CFLAGS = -Ofast -std=c99 $(OPENMP)
#CFLAGS = -Ofast -fnt-store=aggressive -std=c99 $(OPENMP) #AMD CLANG
CFLAGS = -O3 -ffast-math -std=c99 $(OPENMP)
LFLAGS = $(OPENMP) -lm
DEFINES = -D_GNU_SOURCE
DEFINES += -DANIMATE
# DEFINES += -DDEBUG
DEFINES = -D_GNU_SOURCE
INCLUDES =