Skip to content

Commit

Permalink
Makefile*: disable optimization flags
Browse files Browse the repository at this point in the history
they brake args[] read
+ add logo assets
  • Loading branch information
Apaczer committed Aug 4, 2024
1 parent 67cf5ac commit 677a832
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ OUTPUTNAME = boot-logo

DEFINES = -DHAVE_STDINT_H -DVERSION_MIYOO
INCLUDES = -Iinclude $(SDL_CFLAGS)
#OPT_FLAGS = -Ofast -fdata-sections -fdata-sections -fno-common -fno-PIC -flto
EXTRA_LDFLAGS = -lmpg123 -Wl,--as-needed -Wl,--gc-sections -flto -s

CFLAGS = $(DEFINES) $(INCLUDES) $(OPT_FLAGS) -std=gnu11
Expand Down
2 changes: 1 addition & 1 deletion Makefile.bittboy
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ OUTPUTNAME = boot-logo

DEFINES = -DHAVE_STDINT_H -DVERSION_BITTBOY
INCLUDES = -Iinclude $(SDL_CFLAGS)
OPT_FLAGS = -Ofast -fdata-sections -fdata-sections -fno-common -fno-PIC -flto
#OPT_FLAGS = -Ofast -fdata-sections -fdata-sections -fno-common -fno-PIC -flto
EXTRA_LDFLAGS = -lasound -lmpg123 -Wl,--as-needed -Wl,--gc-sections -flto -s

CFLAGS = $(DEFINES) $(INCLUDES) $(OPT_FLAGS) -std=gnu11
Expand Down
2 changes: 1 addition & 1 deletion Makefile.generic
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ OUTPUTNAME = boot-logo

DEFINES = -DHAVE_STDINT_H -DVERSION_GENERIC
INCLUDES = -Iinclude $(SDL_CFLAGS)
OPT_FLAGS = -Ofast -fdata-sections -fdata-sections -fno-common -fno-PIC -flto
#OPT_FLAGS = -Ofast -fdata-sections -fdata-sections -fno-common -fno-PIC -flto
EXTRA_LDFLAGS = -lasound -lmpg123 -Wl,--as-needed -Wl,--gc-sections -flto -s

CFLAGS = $(DEFINES) $(INCLUDES) $(OPT_FLAGS) -std=gnu11
Expand Down
2 changes: 1 addition & 1 deletion Makefile.miyoo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ OUTPUTNAME = boot-logo

DEFINES = -DHAVE_STDINT_H -DVERSION_MIYOO
INCLUDES = -Iinclude $(SDL_CFLAGS)
OPT_FLAGS = -Ofast -fdata-sections -fdata-sections -fno-common -fno-PIC -flto
#OPT_FLAGS = -Ofast -fdata-sections -fdata-sections -fno-common -fno-PIC -flto
EXTRA_LDFLAGS = -lasound -lmpg123 -Wl,--as-needed -Wl,--gc-sections -flto -s

CFLAGS = $(DEFINES) $(INCLUDES) $(OPT_FLAGS) -std=gnu11
Expand Down
2 changes: 1 addition & 1 deletion Makefile.pocketgo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ OUTPUTNAME = boot-logo

DEFINES = -DHAVE_STDINT_H -DVERSION_POCKETGO
INCLUDES = -Iinclude $(SDL_CFLAGS)
OPT_FLAGS = -Ofast -fdata-sections -fdata-sections -fno-common -fno-PIC -flto
#OPT_FLAGS = -Ofast -fdata-sections -fdata-sections -fno-common -fno-PIC -flto
EXTRA_LDFLAGS = -lasound -lmpg123 -Wl,--as-needed -Wl,--gc-sections -flto -s

CFLAGS = $(DEFINES) $(INCLUDES) $(OPT_FLAGS) -std=gnu11
Expand Down
2 changes: 1 addition & 1 deletion Makefile.powkiddy
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ OUTPUTNAME = boot-logo

DEFINES = -DHAVE_STDINT_H -DVERSION_POWKIDDY
INCLUDES = -Iinclude $(SDL_CFLAGS)
OPT_FLAGS = -Ofast -fdata-sections -fdata-sections -fno-common -fno-PIC -flto
#OPT_FLAGS = -Ofast -fdata-sections -fdata-sections -fno-common -fno-PIC -flto
EXTRA_LDFLAGS = -lasound -lmpg123 -Wl,--as-needed -Wl,--gc-sections -flto -s

CFLAGS = $(DEFINES) $(INCLUDES) $(OPT_FLAGS) -std=gnu11
Expand Down
Binary file added assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logo.wav
Binary file not shown.
Binary file added assets/logobg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 677a832

Please sign in to comment.