author | etisserant <edouard.tisserant@gmail.com> |
Fri, 03 Mar 2023 19:26:38 +0100 | |
changeset 119 | 6be785b8cc85 |
parent 81 | a95b2fa896e9 |
child 120 | 02e37d9e96a9 |
permissions | -rw-r--r-- |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1 |
# Win32 only distribution |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2 |
|
79
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
52
diff
changeset
|
3 |
main_target: Beremiz-installer |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
52
diff
changeset
|
4 |
|
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
52
diff
changeset
|
5 |
include $(src)/windows_installer.mk |
a8b434605895
Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
52
diff
changeset
|
6 |
|
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
7 |
ide_targets_from_dist: canfestival |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
8 |
touch $@ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
9 |
|
52
3b23cd88a197
Rename CanFestival-3 repo into canfestival. CamelCase and '-' in repo name are silly.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
43
diff
changeset
|
10 |
canfestival_dir = installer/canfestival |
3b23cd88a197
Rename CanFestival-3 repo into canfestival. CamelCase and '-' in repo name are silly.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
43
diff
changeset
|
11 |
canfestival: $(canfestival_dir)/.stamp |
3b23cd88a197
Rename CanFestival-3 repo into canfestival. CamelCase and '-' in repo name are silly.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
43
diff
changeset
|
12 |
$(canfestival_dir)/.stamp: sources/canfestival_src | installer |
3b23cd88a197
Rename CanFestival-3 repo into canfestival. CamelCase and '-' in repo name are silly.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
43
diff
changeset
|
13 |
canfestival: $(canfestival_dir)/.stamp |
3b23cd88a197
Rename CanFestival-3 repo into canfestival. CamelCase and '-' in repo name are silly.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
43
diff
changeset
|
14 |
rm -rf $(canfestival_dir) |
3b23cd88a197
Rename CanFestival-3 repo into canfestival. CamelCase and '-' in repo name are silly.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
43
diff
changeset
|
15 |
cp -a sources/canfestival $(canfestival_dir) |
3b23cd88a197
Rename CanFestival-3 repo into canfestival. CamelCase and '-' in repo name are silly.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
43
diff
changeset
|
16 |
cd $(canfestival_dir); \ |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
17 |
./configure --can=tcp_win32 \ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
18 |
--cc=$(CC) \ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
19 |
--cxx=$(CXX) \ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
20 |
--target=win32 \ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
21 |
--wx=0 |
52
3b23cd88a197
Rename CanFestival-3 repo into canfestival. CamelCase and '-' in repo name are silly.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
43
diff
changeset
|
22 |
$(MAKE) -C $(canfestival_dir) |
3b23cd88a197
Rename CanFestival-3 repo into canfestival. CamelCase and '-' in repo name are silly.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
43
diff
changeset
|
23 |
cd $(canfestival_dir); find . -name "*.o" -exec rm {} ';' #remove object files only |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
24 |
touch $@ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
25 |