19 lines
426 B
Makefile
19 lines
426 B
Makefile
CC = clang
|
|
GCC = cc
|
|
LINKER = $(CC)
|
|
|
|
ifeq ($(ENABLE_OPENMP),true)
|
|
OPENMP = -fopenmp
|
|
#OPENMP = -Xpreprocessor -fopenmp #required on Macos with homebrew libomp
|
|
LIBS = # -lomp
|
|
endif
|
|
|
|
VERSION = --version
|
|
CFLAGS = -Ofast -std=c99 $(OPENMP)
|
|
#CFLAGS = -Ofast -fnt-store=aggressive -std=c99 $(OPENMP) #AMD CLANG
|
|
LFLAGS = $(OPENMP) -lm
|
|
DEFINES = -D_GNU_SOURCE
|
|
DEFINES += -DANIMATE
|
|
# DEFINES += -DDEBUG
|
|
INCLUDES =
|