Commit 86e57fd5 authored by Jan Eitzinger's avatar Jan Eitzinger
Browse files

Add info target

parent 89b2ecdb
...@@ -53,6 +53,10 @@ ${TARGET}: $(BUILD_DIR) $(OBJ) ...@@ -53,6 +53,10 @@ ${TARGET}: $(BUILD_DIR) $(OBJ)
asm: $(BUILD_DIR) $(ASM) asm: $(BUILD_DIR) $(ASM)
info:
@echo $(CFLAGS)
$(Q)$(CC) $(VERSION)
$(BUILD_DIR)/%.o: %.c $(BUILD_DIR)/%.o: %.c
@echo "===> COMPILE $@" @echo "===> COMPILE $@"
$(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@ $(CC) -c $(CPPFLAGS) $(CFLAGS) $< -o $@
......
...@@ -6,7 +6,9 @@ ifeq ($(ENABLE_OPENMP),true) ...@@ -6,7 +6,9 @@ ifeq ($(ENABLE_OPENMP),true)
OPENMP = -fopenmp OPENMP = -fopenmp
endif 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) LFLAGS = $(OPENMP)
DEFINES = -D_GNU_SOURCE DEFINES = -D_GNU_SOURCE
INCLUDES = INCLUDES =
......
...@@ -6,6 +6,7 @@ ifeq ($(ENABLE_OPENMP),true) ...@@ -6,6 +6,7 @@ ifeq ($(ENABLE_OPENMP),true)
OPENMP = -fopenmp OPENMP = -fopenmp
endif endif
VERSION = --version
CFLAGS = -Ofast -ffreestanding -std=c99 $(OPENMP) CFLAGS = -Ofast -ffreestanding -std=c99 $(OPENMP)
LFLAGS = $(OPENMP) LFLAGS = $(OPENMP)
DEFINES = -D_GNU_SOURCE DEFINES = -D_GNU_SOURCE
......
...@@ -6,7 +6,8 @@ ifeq ($(ENABLE_OPENMP),true) ...@@ -6,7 +6,8 @@ ifeq ($(ENABLE_OPENMP),true)
OPENMP = -qopenmp OPENMP = -qopenmp
endif 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) LFLAGS = $(OPENMP)
DEFINES = -D_GNU_SOURCE DEFINES = -D_GNU_SOURCE
INCLUDES = INCLUDES =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment