From a1ea7f484c6efb76fcedda444c243fd04f4e7cfa Mon Sep 17 00:00:00 2001 From: eine Date: Thu, 23 Jul 2020 17:12:27 +0200 Subject: makefile: fix 'test' when buildir != srcdir --- Makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index fd22b2bbf..1ef92ac8d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -200,7 +200,7 @@ install.mcode: install.mcode.program install.vhdllib install.vpi install.libghdl uninstall.mcode: uninstall.mcode.program uninstall.vhdllib uninstall.vpi uninstall.libghdl test.mcode: ghdl_mcode$(EXEEXT) - cd testsuite; GHDL=$(CURDIR)/ghdl_mcode$(EXEEXT) ./testsuite.sh + cd $(srcdir)/testsuite; GHDL=$(CURDIR)/ghdl_mcode$(EXEEXT) ./testsuite.sh oread-mcode$(EXEEXT): force $(MAKE) -f $(srcdir)/src/ortho/mcode/Makefile \ @@ -281,7 +281,7 @@ install.gcc: install.vhdllib install.grt install.vpi install.libghdl uninstall.gcc: uninstall.vhdllib uninstall.grt uninstall.vpi uninstall.libghdl test.gcc: - cd testsuite; GHDL=$(GHDL_GCC_BIN) ./testsuite.sh + cd $(srcdir)/testsuite; GHDL=$(GHDL_GCC_BIN) ./testsuite.sh #################### For gcc backend - development only (local build) #### @@ -366,7 +366,7 @@ install.llvm.program: install.dirs ghdl1-llvm$(EXEEXT) ghdl_llvm$(EXEEXT) $(INSTALL_PROGRAM) ghdl1-llvm$(EXEEXT) $(DESTDIR)$(bindir)/ghdl1-llvm$(EXEEXT) test.llvm: ghdl_llvm$(EXEEXT) - cd testsuite; GHDL=$(CURDIR)/ghdl_llvm$(EXEEXT) ./testsuite.sh + cd $(srcdir)/testsuite; GHDL=$(CURDIR)/ghdl_llvm$(EXEEXT) ./testsuite.sh uninstall.llvm.program: $(RM) $(DESTDIR)$(bindir)/ghdl1-llvm$(EXEEXT) -- cgit v1.2.3