win32.mk
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sat, 04 Sep 2021 01:35:11 +0200
changeset 37 fd09116d3537
child 43 1a2658f109da
permissions -rw-r--r--
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
# Win32 only distribution

OWN_PROJECTS_EX=CanFestival-3

ide_targets_from_dist: canfestival
	touch $@

CFbuild = installer/CanFestival-3
canfestival: $(msysdir)/.stamp
	rm -rf $(CFbuild)
	$(call get_src_hg,$(CFbuild))
	cd $(CFbuild); \
	./configure --can=tcp_win32 \
				--cc=$(CC) \
				--cxx=$(CXX) \
				--target=win32 \
				--wx=0
	$(MAKE) -C $(CFbuild)
	cd $(CFbuild); find . -name "*.o" -exec rm {} ';' #remove object files only
	touch $@