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)
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 =
......
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