aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRimas Avizienis <rimas@eecs.berkeley.edu>2011-07-08 10:49:30 -0700
committerRimas Avizienis <rimas@eecs.berkeley.edu>2011-07-08 10:49:30 -0700
commit3bec77de69afe8249ead43f6b71fe83ecca78ee3 (patch)
treeda2549d919c1aa49e1f76309b85910ef5133940e /Makefile.in
parentff8e196057df17d834e895352aba521bd4a545fb (diff)
downloadriscv-isa-sim-3bec77de69afe8249ead43f6b71fe83ecca78ee3.zip
riscv-isa-sim-3bec77de69afe8249ead43f6b71fe83ecca78ee3.tar.gz
riscv-isa-sim-3bec77de69afe8249ead43f6b71fe83ecca78ee3.tar.bz2
fixes to make disassembly work under macos (with macports binutils installed)
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 53dfb60..0c27cae 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -81,14 +81,16 @@ VPATH := $(addprefix $(src_dir)/, $(sprojs_enabled))
# C++ compiler
# - CPPFLAGS : flags for the preprocessor (eg. -I,-D)
# - CXXFLAGS : flags for C++ compiler (eg. -Wall,-g,-O3)
+# - INCDIRS : extra include directories (eg. -I/foo/bar)
CC := @CC@
CXX := @CXX@
CPPFLAGS := @CPPFLAGS@
CXXFLAGS := @CXXFLAGS@
-COMPILE := $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) \
+INCDIRS := @INCDIRS@
+COMPILE := $(CXX) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) $(INCDIRS) \
$(sprojs_include)
-COMPILE_C := $(CC) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) \
+COMPILE_C := $(CC) -MMD -MP $(CPPFLAGS) $(CXXFLAGS) $(INCDIRS) \
$(sprojs_include)
# Linker
# - LDFLAGS : Flags for the linker (eg. -L)