mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-10 21:05:12 +01:00
[Gamecube/Wii] modified Makefiles to directly use bin2s tool instead of bin2o script (fixes build issues with latest devkitPPC releases producing refactored/incompatible bin2s tool outputs)
This commit is contained in:
parent
a8d15733fb
commit
54b946cd55
12
Makefile.gc
12
Makefile.gc
@ -20,8 +20,7 @@ BUILD := build_cube
|
||||
SOURCES := core core/m68k core/z80 core/sound core/tremor core/ntsc core/input_hw core/cd_hw core/cart_hw core/cart_hw/svp \
|
||||
gx gx/utils gx/gui gx/fileio gx/images gx/sounds
|
||||
INCLUDES := core core/m68k core/z80 core/sound core/tremor core/ntsc core/input_hw core/cd_hw core/cart_hw core/cart_hw/svp \
|
||||
gx gx/utils gx/gui gx/fileio gx/images gx/sounds \
|
||||
$(BUILD)
|
||||
gx gx/utils gx/gui gx/fileio gx/images gx/sounds
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# options for code generation
|
||||
@ -127,19 +126,20 @@ $(OUTPUT).elf: $(OFILES)
|
||||
#---------------------------------------------------------------------------------
|
||||
%.jpg.o : %.jpg
|
||||
@echo $(notdir $<)
|
||||
$(bin2o)
|
||||
bin2s -a 32 $< | $(AS) -o $(@)
|
||||
|
||||
|
||||
%.png.o : %.png
|
||||
@echo $(notdir $<)
|
||||
$(bin2o)
|
||||
bin2s -a 32 $< | $(AS) -o $(@)
|
||||
|
||||
%.pcm.o : %.pcm
|
||||
@echo $(notdir $<)
|
||||
$(bin2o)
|
||||
bin2s -a 32 $< | $(AS) -o $(@)
|
||||
|
||||
%.ogg.o : %.ogg
|
||||
@echo $(notdir $<)
|
||||
$(bin2o)
|
||||
bin2s -a 32 $< | $(AS) -o $(@)
|
||||
|
||||
-include $(DEPENDS)
|
||||
|
||||
|
11
Makefile.wii
11
Makefile.wii
@ -24,8 +24,7 @@ SOURCES := core core/m68k core/z80 core/sound core/tremor core/ntsc core/input_
|
||||
gx gx/utils gx/utils/wiidrc gx/gui gx/fileio gx/images gx/sounds
|
||||
INCLUDES := core core/m68k core/z80 core/sound core/tremor core/ntsc core/input_hw core/cd_hw core/cart_hw core/cart_hw/svp \
|
||||
$(CHDLIBDIR)/src $(CHDLIBDIR)/deps/libFLAC/include $(CHDLIBDIR)/deps/lzma \
|
||||
gx gx/utils gx/utils/wiidrc gx/gui gx/fileio gx/images gx/sounds \
|
||||
$(BUILD)
|
||||
gx gx/utils gx/utils/wiidrc gx/gui gx/fileio gx/images gx/sounds
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# options for code generation
|
||||
@ -131,19 +130,19 @@ $(OUTPUT).elf: $(OFILES)
|
||||
#---------------------------------------------------------------------------------
|
||||
%.jpg.o : %.jpg
|
||||
@echo $(notdir $<)
|
||||
$(bin2o)
|
||||
bin2s -a 32 $< | $(AS) -o $(@)
|
||||
|
||||
%.png.o : %.png
|
||||
@echo $(notdir $<)
|
||||
$(bin2o)
|
||||
bin2s -a 32 $< | $(AS) -o $(@)
|
||||
|
||||
%.pcm.o : %.pcm
|
||||
@echo $(notdir $<)
|
||||
$(bin2o)
|
||||
bin2s -a 32 $< | $(AS) -o $(@)
|
||||
|
||||
%.ogg.o : %.ogg
|
||||
@echo $(notdir $<)
|
||||
$(bin2o)
|
||||
bin2s -a 32 $< | $(AS) -o $(@)
|
||||
|
||||
-include $(DEPENDS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user