summaryrefslogtreecommitdiff
path: root/ortho/mcode/Makefile
diff options
context:
space:
mode:
authorTristan Gingold2014-03-08 07:04:05 +0100
committerTristan Gingold2014-03-08 07:04:05 +0100
commite6001445a14d5e96db78ff56c68d8ae96dec0968 (patch)
tree77394e40d752c04e5f4ce61b0c868aa2d4b06fa3 /ortho/mcode/Makefile
parentd9bb785009b005cc314f063ae05b8974fd8f4bf2 (diff)
downloadghdl-e6001445a14d5e96db78ff56c68d8ae96dec0968.tar.gz
ghdl-e6001445a14d5e96db78ff56c68d8ae96dec0968.tar.bz2
ghdl-e6001445a14d5e96db78ff56c68d8ae96dec0968.zip
Share spec of ortho_nodes, adjust code.
Diffstat (limited to 'ortho/mcode/Makefile')
-rw-r--r--ortho/mcode/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/ortho/mcode/Makefile b/ortho/mcode/Makefile
index 3b5a596..2970d60 100644
--- a/ortho/mcode/Makefile
+++ b/ortho/mcode/Makefile
@@ -1,10 +1,12 @@
ortho_srcdir=..
GNAT_FLAGS=-gnaty3befhkmr -gnata -gnatf -gnatwlcru
CC=gcc
+BE=mcode
+SED=sed
all: $(ortho_exec)
-$(ortho_exec): memsegs_c.o force
+$(ortho_exec): $(ortho_srcdir)/mcode/ortho_mcode.ads memsegs_c.o force
gnatmake -m -o $@ -g -aI$(ortho_srcdir)/mcode -aI$(ortho_srcdir) \
$(GNAT_FLAGS) ortho_code_main -bargs -E -largs memsegs_c.o #-static
@@ -31,3 +33,5 @@ force:
.PHONY: force all clean
+ORTHO_BASENAME=ortho_mcode
+include $(ortho_srcdir)/Makefile.inc