|
@@ -20,7 +20,7 @@ PYSETS := $(PYTHON_BIN) ../tools/v_tools/pyset2s.py
|
20
|
20
|
export PATH := $(realpath ../tools):$(PATH)
|
21
|
21
|
|
22
|
22
|
PAGB_MAIN := g3headers
|
23
|
|
-PAGB_INCLUDE := $(PAGB_MAIN)/build/include/
|
|
23
|
+PAGB_INCLUDE := $(PAGB_MAIN)/build/include
|
24
|
24
|
PAGB_LINK := $(PAGB_MAIN)/build/linker/BPRE.ld
|
25
|
25
|
|
26
|
26
|
AUTO_ASSET_ROOT := sots-private/assets/images
|
|
@@ -105,12 +105,12 @@ $(STRINGDIR)/%.s: $(STRINGDIR)/%.txt
|
105
|
105
|
@echo -e "\e[93mGenerating strings $<\e[0m"
|
106
|
106
|
$(STRAGB) -o $@ -i $< -t string/table.tbl -e 0xFF
|
107
|
107
|
|
108
|
|
-$(BLDPATH)/%.o: %.c $(ASSETS)
|
|
108
|
+$(BLDPATH)/%.o: %.c $(ASSETS) $(PAGB_INCLUDE)/pokeagb/pokeagb.h src/include/script_language.h src/include/hiddenflags.h
|
109
|
109
|
@echo -e "\e[32mCompiling $<\e[0m"
|
110
|
110
|
$(shell mkdir -p $(dir $@))
|
111
|
111
|
$(CC) $(CFLAGS) -c $< -o $@
|
112
|
112
|
|
113
|
|
-$(BLDPATH)/%.o: %.s
|
|
113
|
+$(BLDPATH)/%.o: %.s $(PAGB_INCLUDE)/pokeagb/pokeagb.h src/include/script_language.h src/include/hiddenflags.h
|
114
|
114
|
@echo -e "\e[32mAssembling $<\e[0m"
|
115
|
115
|
$(shell mkdir -p $(dir $@))
|
116
|
116
|
$(PREPROC) $< $(CHARMAP) > $*.i
|