mirror of
https://github.com/pret/pmd-red.git
synced 2026-08-01 00:04:59 -05:00
Delete build artifacts on clean target (#89)
* delete build artifacts on clean target * clean out the graphics files too * fix up auto-gen message on pokemon_found and move END_OF_TABLE to actual end of table
This commit is contained in:
parent
74b7676ae2
commit
4fd4208364
6
Makefile
6
Makefile
|
|
@ -173,6 +173,12 @@ clean-tools:
|
|||
tidy:
|
||||
$(RM) -f $(ROM) $(ELF) $(MAP)
|
||||
$(RM) -r $(BUILD_DIR)
|
||||
$(RM) -f $(ITEM_DATA)
|
||||
$(RM) -f $(MOVE_DATA)
|
||||
$(RM) -f $(POKEMON_SPECIES)
|
||||
$(RM) -f $(DUNGEON_FLOOR)
|
||||
$(RM) -f $(DUNGEON_POKEMON)
|
||||
find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' -o -iname '*.latfont' -o -iname '*.hwjpnfont' -o -iname '*.fwjpnfont' \) -exec rm {} +
|
||||
@$(MAKE) clean -C libagbsyscall
|
||||
|
||||
define scaninc
|
||||
|
|
|
|||
|
|
@ -260,7 +260,8 @@ string generate_pokemon_table_text(Json map_data) {
|
|||
int pokemon_mask;
|
||||
int probability_total;
|
||||
|
||||
text << "@ This is auto-generated by " << map_data["name"].string_value() << ".json" << "\n";
|
||||
text << "@ This is auto-generated by pokemon_found.json.\n";
|
||||
|
||||
for (auto &table: map_data["tables"].array_items()) {
|
||||
probability_total = 0;
|
||||
|
||||
|
|
@ -284,8 +285,8 @@ string generate_pokemon_table_text(Json map_data) {
|
|||
}
|
||||
|
||||
// Append null entry to end
|
||||
text << TABLE_END;
|
||||
text << ".2byte " << "0x00, 0x00, 0x00, 0x00" << "\n";
|
||||
text << TABLE_END;
|
||||
}
|
||||
|
||||
return text.str();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user