aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-09-12 20:27:24 +0200
committerTristan Gingold <tgingold@free.fr>2016-09-12 20:27:24 +0200
commit1fd4397098c1bb94c1ce6c2081fa138518dca61f (patch)
treea85ae72fe14b63d71ce4b97c9c6403000ca9f2c4
parentae2ab19fbb8ae45c72229aea207e8bc30779cc1b (diff)
downloadghdl-1fd4397098c1bb94c1ce6c2081fa138518dca61f.tar.gz
ghdl-1fd4397098c1bb94c1ce6c2081fa138518dca61f.tar.bz2
ghdl-1fd4397098c1bb94c1ce6c2081fa138518dca61f.zip
Makefile.in: fix library build during development.
-rw-r--r--Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index bea6e4744..06ee4df43 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -159,6 +159,8 @@ ghdllib: libs.vhdl.gcc libgrt.a
install.gcc: install.vhdllib install.grt install.vpi
+#################### For gcc backend - development only (local build) ####
+
GHDL_GCC_INCFLAGS=$(GHDL_COMMON_INCFLAGS)
ghdl1-gcc$(EXEEXT): force
@@ -179,7 +181,8 @@ grt.links:
ln -sf $(libdirreverse)/libbacktrace.a .; \
fi
-libs.vhdl.local_gcc: ghdl_gcc$(EXEEXT) ghdl1-gcc$(EXEEXT) vhdl.libs.all libs.vhdl.standard
+libs.vhdl.local_gcc: ghdl_gcc$(EXEEXT) ghdl1-gcc$(EXEEXT)
+ $(MAKE) GHDL=$(PWD)/ghdl_gcc$(EXEEXT) ANALYZE_OPTS="--GHDL1=ghdl1-gcc$(EXEEXT)" STD_GHDL_FLAGS="--GHDL1=$(PWD)/ghdl1-gcc$(EXEEXT)" vhdl.libs.all libs.vhdl.standard
ghdl1-debug$(EXEEXT): force
$(MAKE) -f $(srcdir)/src/ortho/debug/Makefile \