author | Edouard Tisserant <edouard.tisserant@gmail.com> |
Fri, 20 May 2022 15:17:33 +0200 | |
changeset 62 | d545546e8735 |
parent 52 | 3b23cd88a197 |
child 79 | a8b434605895 |
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 |
|
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
|
3 |
OWN_PROJECTS_EX=canfestival |
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
|
4 |
|
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
|
5 |
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
|
6 |
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
|
7 |
|
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
|
8 |
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
|
9 |
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
|
10 |
$(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
|
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 |
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
|
13 |
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
|
14 |
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
|
15 |
./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
|
16 |
--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
|
17 |
--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
|
18 |
--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
|
19 |
--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
|
20 |
$(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
|
21 |
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
|
22 |
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
|
23 |