Remove sample bins and update makefile

This commit is contained in:
Diegoisawesome 2018-01-09 19:37:10 -06:00
parent 90c5b93f23
commit 4e4b18e04f
546 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View File

@ -15,6 +15,7 @@
*.latfont
*.hwjpnfont
*.fwjpnfont
sound/**/*.bin
tools/agbcc
*.map
*.ld

View File

@ -75,6 +75,8 @@ compare: $(ROM)
@$(SHA1) rom.sha1
clean: tidy
rm -f sound/direct_sound_samples/*.bin
rm -f $(SONG_OBJS)
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 {} +
tidy:
@ -95,6 +97,10 @@ include graphics_file_rules.mk
%.gbapal: %.png ; $(GFX) $< $@
%.lz: % ; $(GFX) $< $@
%.rl: % ; $(GFX) $< $@
sound/direct_sound_samples/cry_%.bin: sound/direct_sound_samples/cry_%.aif ; $(AIF) $< $@ --compress
%.bin: %.aif ; $(AIF) $< $@
sound/songs/%.s: sound/songs/%.mid
cd $(@D) && ../../$(MID) $(<F)
$(C_BUILDDIR)/libc.o: CC1 := tools/agbcc/bin/old_agbcc
$(C_BUILDDIR)/libc.o: CFLAGS := -O2

Some files were not shown because too many files have changed in this diff Show More