Skip to content

Commit

Permalink
Update instructions to generate .inc files in time (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
GriffinRichards authored Sep 26, 2024
1 parent d6c3cb7 commit c6ece0d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ JSONPROC := $(TOOLS_DIR)/jsonproc/jsonproc$(EXE)
+ SCRIPT := $(TOOLS_DIR)/poryscript/poryscript$(EXE)
```
```diff
clean-assets:
...
find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' -o -iname '*.rl' -o -iname '*.latfont' -o -iname '*.hwjpnfont' -o -iname '*.fwjpnfont' \) -exec rm {} +
find $(DATA_ASM_SUBDIR)/maps \( -iname 'connections.inc' -o -iname 'events.inc' -o -iname 'header.inc' \) -exec rm {} +
+ rm -f $(patsubst %.pory,%.inc,$(shell find data/ -type f -name '*.pory'))
include audio_rules.mk

+AUTO_GEN_TARGETS += $(patsubst %.pory,%.inc,$(shell find data/ -type f -name '*.pory'))

generated: $(AUTO_GEN_TARGETS)
```
```diff
%.s: ;
Expand Down

0 comments on commit c6ece0d

Please sign in to comment.