Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Gruber
TheBandwidthBenchmark
Commits
86e57fd5
Commit
86e57fd5
authored
Jan 18, 2021
by
Jan Eitzinger
Browse files
Add info target
parent
89b2ecdb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
86e57fd5
...
...
@@ -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
$@
...
...
include_CLANG.mk
View file @
86e57fd5
...
...
@@ -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
=
...
...
include_GCC.mk
View file @
86e57fd5
...
...
@@ -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
...
...
include_ICC.mk
View file @
86e57fd5
...
...
@@ -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
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment