|
@@ -10,9 +10,12 @@ PREPROC := @preproc
|
10
|
10
|
VBA := vba
|
11
|
11
|
LAN := de
|
12
|
12
|
STRAGB := string2agb
|
13
|
|
-PYPROJS := @python ../tools/v_tools/pyproj2s.py
|
14
|
|
-PYMAPS := @python ../tools/v_tools/pymap2s.py
|
15
|
|
-PYSETS := @python ../tools/v_tools/pyset2s.py
|
|
13
|
+
|
|
14
|
+PYTHON_BIN := $(shell ./python_version.sh)
|
|
15
|
+
|
|
16
|
+PYPROJS := $(PYTHON_BIN) ../tools/v_tools/pyproj2s.py
|
|
17
|
+PYMAPS := $(PYTHON_BIN) ../tools/v_tools/pymap2s.py
|
|
18
|
+PYSETS := $(PYTHON_BIN) ../tools/v_tools/pyset2s.py
|
16
|
19
|
|
17
|
20
|
export PATH := $(realpath ../tools):$(PATH)
|
18
|
21
|
|
|
@@ -209,7 +212,7 @@ $(CRY_AR):
|
209
|
212
|
|
210
|
213
|
.PHONY: constants
|
211
|
214
|
constants:
|
212
|
|
- python ../tools/v_tools/constants.py src/include/
|
|
215
|
+ $(PYTHON_BIN) ../tools/v_tools/constants.py src/include/
|
213
|
216
|
|
214
|
|
-run: all
|
215
|
|
- $(VBA) "build/pkmn_sots.gba"
|
|
217
|
+run: rom
|
|
218
|
+ $(VBA) "build/pkmn_sots.gba"
|