summaryrefslogtreecommitdiff
path: root/translate/ghdldrv/Makefile
diff options
context:
space:
mode:
authorgingold2005-12-10 17:08:01 +0000
committergingold2005-12-10 17:08:01 +0000
commit632952160f9a7e5a9b4bb7bdd99ae76b3ec0e96a (patch)
tree8d3d25dd5ede4ac0c1ed7a0cb4bb914ea90d6e87 /translate/ghdldrv/Makefile
parent54ee7a02a6b3d622545aceff27cf43eeefb883f4 (diff)
downloadghdl-632952160f9a7e5a9b4bb7bdd99ae76b3ec0e96a.tar.gz
ghdl-632952160f9a7e5a9b4bb7bdd99ae76b3ec0e96a.tar.bz2
ghdl-632952160f9a7e5a9b4bb7bdd99ae76b3ec0e96a.zip
-m32 flag added, general substitution in .lst file
Diffstat (limited to 'translate/ghdldrv/Makefile')
-rw-r--r--translate/ghdldrv/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/translate/ghdldrv/Makefile b/translate/ghdldrv/Makefile
index e9b38f4..2549362 100644
--- a/translate/ghdldrv/Makefile
+++ b/translate/ghdldrv/Makefile
@@ -36,7 +36,7 @@ GRTSRCDIR=../grt
include $(GRTSRCDIR)/Makefile.inc
ghdl_mcode: default_pathes.ads $(GRT_ADD_OBJS) mmap_binding.o force
- gnatmake -aI../../ortho/mcode $(GNATFLAGS) ghdl_mcode $(GNAT_BARGS) -largs mmap_binding.o $(GNAT_LARGS) $(GRT_ADD_OBJS) $(GRT_EXTRA_LIB) -Wl,--version-script=$(GRTSRCDIR)/grt.ver -Wl,--export-dynamic
+ gnatmake -aI../../ortho/mcode $(GNATFLAGS) ghdl_mcode $(GNAT_BARGS) -largs mmap_binding.o $(GNAT_LARGS) $(GRT_ADD_OBJS) $(subst @,$(GRTSRCDIR),$(GRT_EXTRA_LIB))
mmap_binding.o: ../../ortho/mcode/mmap_binding.c
$(CC) -c -g -o $@ $<
@@ -103,7 +103,7 @@ install.standard: $(LIB93_DIR)/std/std_standard.o \
$(LIB87_DIR)/std/std_standard.o
make-lib-links:
- cd ../lib; ln -sf ../grt/grt.lst .; ln -sf ../grt/libgrt.a .
+ cd ../lib; ln -sf $(GRTSRCDIR)/grt.lst .; ln -sf $(GRTSRCDIR)/libgrt.a .; ln -sf $(GRTSRCDIR)/grt.ver .
install.all: install.v87 install.v93 install.standard
install.mcode: install.v87 install.v93