From 7de48a7766fda33869e582499bc12192fe5c23ef Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sun, 30 Oct 2016 19:02:02 +0100 Subject: Makefiles: use gnatmake instead of gcc to compile single Ada files. --- Makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 61c295375..452060996 100644 --- a/Makefile.in +++ b/Makefile.in @@ -43,11 +43,11 @@ incdir=$(prefix)/include MKDIR=mkdir LN=ln -s CP=cp +MV=mv SED=sed GRT_RANLIB=ranlib VHDL_LIB_DIR=$(prefix)/$(libdirsuffix) -ADAC=$(CC) # Debug OPT_FLAGS=-g @@ -102,7 +102,7 @@ version.tmp: $(srcdir)/src/version.in force # Create version.tmp from version.in, using git date/hash if [ -d $(srcdir)/.git ]; then \ desc=`cd $(srcdir); git describe --dirty`; \ - sed -e "s/[(].*[)]/($$desc)/" < $< > $@; \ + $(SED) -e "s/[(].*[)]/($$desc)/" < $< > $@; \ else \ $(CP) $< $@; \ fi @@ -279,7 +279,7 @@ libmhdlsimvhdl.a: $(GRT_ADD_OBJS) $(GRT_SRC_DEPS) version.ads force gnatbind -Lmhdlsim_vhdl_ mhdlsim.ali -O > mhdlsim.files gnatbind -Lmhdlsim_vhdl_ mhdlsim.ali -K -Z > mhdlsim.link $(GNATMAKE) -c b~mhdlsim.adb - rm -f $@ + $(RM) -f $@ ar rc $@ b~mhdlsim.o `cat mhdlsim.files` $(GRT_ADD_OBJS) ################ ghwdump ################################################# -- cgit v1.2.3