aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-10-30 19:02:02 +0100
committerTristan Gingold <tgingold@free.fr>2016-11-01 13:11:43 +0100
commit7de48a7766fda33869e582499bc12192fe5c23ef (patch)
treebd37b32567b1c84b35bbb6ee27505c9ed46623ca /Makefile.in
parentff76d80a9c41381c3bdea8cc2442d3f262eaed2b (diff)
downloadghdl-7de48a7766fda33869e582499bc12192fe5c23ef.tar.gz
ghdl-7de48a7766fda33869e582499bc12192fe5c23ef.tar.bz2
ghdl-7de48a7766fda33869e582499bc12192fe5c23ef.zip
Makefiles: use gnatmake instead of gcc to compile single Ada files.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
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 #################################################