Add info target
This commit is contained in:
4
Makefile
4
Makefile
@@ -53,6 +53,10 @@ ${TARGET}: $(BUILD_DIR) $(OBJ)
|
||||
|
||||
asm: $(BUILD_DIR) $(ASM)
|
||||
|
||||
info:
|
||||
@echo $(CFLAGS)
|
||||
$(Q)$(CC) $(VERSION)
|
||||
|
||||
$(BUILD_DIR)/%.o: %.c
|
||||
@echo "===> COMPILE $@"
|
||||
$(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@
|
||||
|
||||
@@ -6,7 +6,9 @@ ifeq ($(ENABLE_OPENMP),true)
|
||||
OPENMP = -fopenmp
|
||||
endif
|
||||
|
||||
CFLAGS = -Ofast -ffreestanding -std=c99 $(OPENMP)
|
||||
VERSION = --version
|
||||
CFLAGS = -Ofast -std=c99 $(OPENMP)
|
||||
#CFLAGS = -Ofast -fnt-store=aggressive -std=c99 $(OPENMP) #AMD CLANG
|
||||
LFLAGS = $(OPENMP)
|
||||
DEFINES = -D_GNU_SOURCE
|
||||
INCLUDES =
|
||||
|
||||
@@ -6,6 +6,7 @@ ifeq ($(ENABLE_OPENMP),true)
|
||||
OPENMP = -fopenmp
|
||||
endif
|
||||
|
||||
VERSION = --version
|
||||
CFLAGS = -Ofast -ffreestanding -std=c99 $(OPENMP)
|
||||
LFLAGS = $(OPENMP)
|
||||
DEFINES = -D_GNU_SOURCE
|
||||
|
||||
@@ -6,7 +6,8 @@ ifeq ($(ENABLE_OPENMP),true)
|
||||
OPENMP = -qopenmp
|
||||
endif
|
||||
|
||||
CFLAGS = -Ofast -xHost -qopt-streaming-stores=always -std=c99 -ffreestanding $(OPENMP)
|
||||
VERSION = --version
|
||||
CFLAGS = -fast -xHost -qopt-streaming-stores=always -std=c99 -ffreestanding $(OPENMP)
|
||||
LFLAGS = $(OPENMP)
|
||||
DEFINES = -D_GNU_SOURCE
|
||||
INCLUDES =
|
||||
|
||||
Reference in New Issue
Block a user