Make OpenMP support a config option
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
CC = clang
|
||||
LINKER = $(CC)
|
||||
|
||||
OPENMP = #-fopenmp
|
||||
ifeq ($(ENABLE_OPENMP),true)
|
||||
OPENMP = -fopenmp
|
||||
endif
|
||||
|
||||
CFLAGS = -Ofast -std=c99 -pthread $(OPENMP)
|
||||
LFLAGS = -pthread $(OPENMP)
|
||||
DEFINES = -D_GNU_SOURCE
|
||||
|
||||
Reference in New Issue
Block a user