summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold2015-12-28 11:09:16 +0100
committerTristan Gingold2016-01-06 18:38:36 +0100
commit702be7d597c536450ae09475811297cba1b2f1cc (patch)
tree90dea7d07bf060b6f0433924c7d39c0131fe6562
parente3d09a9c3edd6a528de9bc2e0c51025c86ebd2fe (diff)
downloadghdl-702be7d597c536450ae09475811297cba1b2f1cc.tar.gz
ghdl-702be7d597c536450ae09475811297cba1b2f1cc.tar.bz2
ghdl-702be7d597c536450ae09475811297cba1b2f1cc.zip
mcode: use GNATMAKE.
-rw-r--r--src/ortho/mcode/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ortho/mcode/Makefile b/src/ortho/mcode/Makefile
index 0181ffb..57c0d75 100644
--- a/src/ortho/mcode/Makefile
+++ b/src/ortho/mcode/Makefile
@@ -1,4 +1,5 @@
ortho_srcdir=..
+GNATMAKE=gnatmake
GNAT_FLAGS=-gnaty3befhkmr -gnata -gnatf -gnatwlcru -gnat05
CC=gcc
BE=mcode
@@ -7,7 +8,7 @@ SED=sed
all: $(ortho_exec)
$(ortho_exec): $(ortho_srcdir)/mcode/ortho_mcode.ads memsegs_c.o force
- gnatmake -m -o $@ -g -aI$(ortho_srcdir)/mcode -aI$(ortho_srcdir) \
+ $(GNATMAKE) -o $@ -g -aI$(ortho_srcdir)/mcode -aI$(ortho_srcdir) \
-aI$(ortho_srcdir)/.. $(GNAT_FLAGS) ortho_code_main \
-bargs -E -largs memsegs_c.o #-static