win32.mk
author Edouard Tisserant <edouard.tisserant@gmail.com>
Thu, 28 Sep 2023 22:29:30 +0200
changeset 120 02e37d9e96a9
parent 81 a95b2fa896e9
child 122 ef1c44f741e3
permissions -rw-r--r--
Windows Installer : Python3 + 64bit

Upgrade of windows installer build system:
- revisions.txt supports "local" to point to local working directories
- msys2 ucrt64 64b runtine
- use requirements.txt
- most python packages from msys2 repo
- still use pip/wine for other python packages
- some cleanup in Makfile code, removing dead code
- CANopen, Modbus and OPC-UA not included... to be continued.
# Win32 only distribution

main_target: Beremiz-windows-build

include $(src)/windows_installer.mk

ide_targets_from_dist:
	touch $@

# TODO CANFESTIVAL
# TODO MODBUS
# TODO OPCUA

# DIST_FROM_SOURCE_PROJECTS=canfestival Modbus open62541

# ide_targets_from_dist: canfestival Modbus open62541
# 	touch $@


# canfestival_dir = installer/canfestival
# canfestival: $(canfestival_dir)/.stamp
# $(canfestival_dir)/.stamp: sources/canfestival_src | installer
# canfestival: $(canfestival_dir)/.stamp
# 	rm -rf $(canfestival_dir)
# 	cp -a sources/canfestival $(canfestival_dir)
# 	cd $(canfestival_dir); \
# 	./configure --can=tcp_win32 \
# 				--cc=$(CC) \
# 				--cxx=$(CXX) \
# 				--target=win32 \
# 				--wx=0
# 	$(MAKE) -C $(canfestival_dir)
# 	cd $(canfestival_dir); find . -name "*.o" -exec rm {} ';' #remove object files only
# 	touch $@