projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a431f4e
)
Evaluate all the $(shell ...) stuff for CXXFLAGS et al only once
author
Clifford Wolf
<clifford@clifford.at>
Sat, 11 Feb 2017 09:28:13 +0000
(10:28 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sat, 11 Feb 2017 09:28:13 +0000
(10:28 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 77651fdbf275cbead7baa17663ec2131efabb2a2..2773990a66527129c2e0e1ecb12ad517f9311011 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-53,9
+53,9
@@
all: top-all
YOSYS_SRC := $(dir $(firstword $(MAKEFILE_LIST)))
VPATH := $(YOSYS_SRC)
-CXXFLAGS
+=
-Wall -Wextra -ggdb -I. -I"$(YOSYS_SRC)" -MD -D_YOSYS_ -fPIC -I$(PREFIX)/include
-LDFLAGS
+=
-L$(LIBDIR)
-LDLIBS
=
-lstdc++ -lm
+CXXFLAGS
:= $(CXXFLAGS)
-Wall -Wextra -ggdb -I. -I"$(YOSYS_SRC)" -MD -D_YOSYS_ -fPIC -I$(PREFIX)/include
+LDFLAGS
:= $(LDFLAGS)
-L$(LIBDIR)
+LDLIBS
:= $(LDLIBS)
-lstdc++ -lm
PKG_CONFIG ?= pkg-config
SED ?= sed