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

@@ -0,0 +1,15 @@
CC = icx
GCC = gcc
LINKER = $(CC)
ifeq ($(ENABLE_OPENMP),true)
OPENMP = -qopenmp
endif
VERSION = --version
CFLAGS = -O3 -xHost -std=c99 $(OPENMP)
#CFLAGS += -qopt-zmm-usage=high #on CPUs with AVX512 support
LFLAGS = $(OPENMP)
DEFINES = -D_GNU_SOURCE
INCLUDES =
LIBS =