From 64f887cea311ad57bcc1ab6cd809c2275a01256b Mon Sep 17 00:00:00 2001 From: retro100 Date: Thu, 22 Apr 2021 15:30:02 +0200 Subject: [PATCH] fix2: Update Makefile for using auto generated headerfiles from bin2o in filelist.h. --- Makefile | 38 +++++++-------- src/platform/wii/filelist.h | 92 +++++++++++++------------------------ 2 files changed, 50 insertions(+), 80 deletions(-) diff --git a/Makefile b/Makefile index b0aee03..86473be 100644 --- a/Makefile +++ b/Makefile @@ -9,11 +9,6 @@ endif include $(DEVKITPPC)/wii_rules -# override the bin2o definition for disable header creation -define bin2o - bin2s -a 32 $< | $(AS) -o $( +// #include // not necessary -extern const u8 font_ttf[]; -extern const u32 font_ttf_size; +#include -extern const u8 enter_ogg[]; -extern const u32 enter_ogg_size; +#include -extern const u8 exit_ogg[]; -extern const u32 exit_ogg_size; +#include -extern const u8 button_over_pcm[]; -extern const u32 button_over_pcm_size; +#include -extern const u8 button_click_pcm[]; -extern const u32 button_click_pcm_size; +#include -extern const u8 logo_png[]; -extern const u32 logo_png_size; +#include -extern const u8 logo_over_png[]; -extern const u32 logo_over_png_size; +#include -extern const u8 bg_top_png[]; -extern const u32 bg_top_png_size; +#include -extern const u8 bg_bottom_png[]; -extern const u32 bg_bottom_png_size; +#include -extern const u8 button_png[]; -extern const u32 button_png_size; +#include -extern const u8 button_over_png[]; -extern const u32 button_over_png_size; +#include -extern const u8 button_small_png[]; -extern const u32 button_small_png_size; +#include -extern const u8 button_small_over_png[]; -extern const u32 button_small_over_png_size; +#include -extern const u8 button_large_png[]; -extern const u32 button_large_png_size; +#include -extern const u8 button_large_over_png[]; -extern const u32 button_large_over_png_size; +#include -extern const u8 battery_png[]; -extern const u32 battery_png_size; +#include -extern const u8 battery_red_png[]; -extern const u32 battery_red_png_size; +#include -extern const u8 battery_bar_png[]; -extern const u32 battery_bar_png_size; +#include -extern const u8 credits_box_png[]; -extern const u32 credits_box_png_size; +#include -extern const u8 keyboard_textbox_png[]; -extern const u32 keyboard_textbox_png_size; +#include -extern const u8 keyboard_key_png[]; -extern const u32 keyboard_key_png_size; +#include -extern const u8 keyboard_key_over_png[]; -extern const u32 keyboard_key_over_png_size; +#include -extern const u8 keyboard_mediumkey_png[]; -extern const u32 keyboard_mediumkey_png_size; +#include -extern const u8 keyboard_mediumkey_over_png[]; -extern const u32 keyboard_mediumkey_over_png_size; +#include -extern const u8 keyboard_largekey_png[]; -extern const u32 keyboard_largekey_png_size; +#include -extern const u8 keyboard_largekey_over_png[]; -extern const u32 keyboard_largekey_over_png_size; +#include -extern const u8 player1_point_png[]; -extern const u32 player1_point_png_size; +#include -extern const u8 player2_point_png[]; -extern const u32 player2_point_png_size; +#include -extern const u8 player3_point_png[]; -extern const u32 player3_point_png_size; +#include -extern const u8 player4_point_png[]; -extern const u32 player4_point_png_size; +#include #endif