From f30aee01f9db3f44cd05e1429a914a79192dd1b5 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sat, 11 Oct 2014 11:53:36 +0200 Subject: Added "make dist" for mxe builds --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index 46ac373f..0eb5de2b 100644 --- a/Makefile +++ b/Makefile @@ -309,6 +309,16 @@ qtcreator: { echo .; find backends frontends kernel libs passes -type f \( -name '*.h' -o -name '*.hh' \) -printf '%h\n' | sort -u; } > qtcreator.includes touch qtcreator.config qtcreator.creator +ifeq ($(CONFIG),mxe) +dist: $(TARGETS) $(EXTRA_TARGETS) + rm -rf yosys-win32-$(YOSYS_VER) + mkdir -p yosys-win32-$(YOSYS_VER) + cp -r yosys.exe share/ yosys-win32-$(YOSYS_VER)/ + echo -en 'This is Yosys $(YOSYS_VER) for Win32.\r\n' > yosys-win32-$(YOSYS_VER)/readme.txt + echo -en 'Documentation at http://www.clifford.at/yosys/.\r\n' >> yosys-win32-$(YOSYS_VER)/readme.txt + zip -r yosys-win32-$(YOSYS_VER).zip yosys-win32-$(YOSYS_VER)/ +endif + config-clean: clean rm -f Makefile.conf -- cgit v1.2.3