Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
4b43be30
Commit
4b43be30
authored
Aug 06, 2021
by
Antoine Kaufmann
Browse files
Makefile: add EXTRA_XFLAGS variables that can be passed as args
for CFLAGS, CXXFLAGS, CPPFLAGS, VFLAGS
parent
9dc6c659
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Makefile
Makefile
+4
-4
No files found.
Makefile
View file @
4b43be30
...
@@ -29,14 +29,14 @@ base_dir := $(d)./
...
@@ -29,14 +29,14 @@ base_dir := $(d)./
CPPLINT
?=
cpplint
CPPLINT
?=
cpplint
CLANG_TIDY
?=
clang-tidy
CLANG_TIDY
?=
clang-tidy
CLANG_FORMAT
?=
clang-format
CLANG_FORMAT
?=
clang-format
CFLAGS
+=
-Wall
-Wextra
-Wno-unused-parameter
-O3
-fPIC
CFLAGS
+=
-Wall
-Wextra
-Wno-unused-parameter
-O3
-fPIC
$(EXTRA_CFLAGS)
CXXFLAGS
+=
-Wall
-Wextra
-Wno-unused-parameter
-O3
-fPIC
CXXFLAGS
+=
-Wall
-Wextra
-Wno-unused-parameter
-O3
-fPIC
$(EXTRA_CXXFLAGS)
CPPFLAGS
+=
-I
$(base_dir)
/lib
-iquote
$(base_dir)
CPPFLAGS
+=
-I
$(base_dir)
/lib
-iquote
$(base_dir)
$(EXTRA_CPPFLAGS)
VERILATOR
=
verilator
VERILATOR
=
verilator
VFLAGS
=
+1364-2005ext+v
\
VFLAGS
=
+1364-2005ext+v
\
-Wno-WIDTH
-Wno-PINMISSING
-Wno-LITENDIAN
-Wno-IMPLICIT
-Wno-SELRANGE
\
-Wno-WIDTH
-Wno-PINMISSING
-Wno-LITENDIAN
-Wno-IMPLICIT
-Wno-SELRANGE
\
-Wno-CASEINCOMPLETE
-Wno-UNSIGNED
-Wno-CASEINCOMPLETE
-Wno-UNSIGNED
$(EXTRA_VFLAGS)
$(eval
$(call
subdir,lib))
$(eval
$(call
subdir,lib))
...
...
Write
Preview
Markdown
is supported
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