win32.mk
author Edouard Tisserant <edouard.tisserant@gmail.com>
Thu, 09 Sep 2021 21:54:33 +0200
changeset 38 3991f82369cb
parent 37 fd09116d3537
child 43 1a2658f109da
permissions -rw-r--r--
Bundle in installer only fraction of MSYS2: Mingw32. The rest isn't needed for now.
# 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 $@