mirror of
https://github.com/FunKey-Project/Bibi.git
synced 2026-03-27 14:22:42 +01:00
Added FunKey menu
This commit is contained in:
12
Makefile
12
Makefile
@@ -6,6 +6,7 @@ CC = $(CROSS_COMPILE)gcc -g
|
||||
# You can specify these specific platforms though:
|
||||
# -"funkey": Specific levels, key mappings, and cross compilation params for the FunKey S
|
||||
# -"funkey_simulated": Same as "funkey" but without the cross compilation so that you can try it on the host computer
|
||||
# -"funkey_simulated_editor": Same as "funkey_simulated" but with game menu and map editor
|
||||
|
||||
ifeq ($(platform), funkey)
|
||||
SDL_INCLUDES = $(shell /opt/FunKey-sdk-2.0.0/arm-funkey-linux-musleabihf/sysroot/usr/bin/sdl-config --cflags)
|
||||
@@ -13,14 +14,21 @@ ifeq ($(platform), funkey)
|
||||
SDL_INCLUDES += $(shell /opt/FunKey-sdk-2.0.0/arm-funkey-linux-musleabihf/sysroot/usr/bin/libmikmod-config --cflags)
|
||||
SDL_LIBS += $(shell /opt/FunKey-sdk-2.0.0/arm-funkey-linux-musleabihf/sysroot/usr/bin/libmikmod-config --libs)
|
||||
SDL_LIBS += -Wl,--as-needed -Wl,--gc-sections -Wl,-O1,--sort-common -flto -s
|
||||
CFLAGS_EXTRA = -DFUNKEY -DHW_SCREEN_RESIZE -DSOUND_SDL_ACTIVATED -DBYPASS_MENU
|
||||
LDFLAGS_EXTRA = -lSDL_mixer
|
||||
CFLAGS_EXTRA = -DFUNKEY -DHW_SCREEN_RESIZE -DSOUND_SDL_ACTIVATED -DBYPASS_MENU -DFUNKEY_MENU
|
||||
LDFLAGS_EXTRA = -lSDL_mixer -lSDL_image -lSDL_ttf
|
||||
else
|
||||
SDL_INCLUDES = `sdl-config --cflags`
|
||||
SDL_LIBS = `sdl-config --libs`
|
||||
endif
|
||||
|
||||
ifeq ($(platform), funkey_simulated)
|
||||
CFLAGS_EXTRA = -DFUNKEY -DHW_SCREEN_RESIZE -DSOUND_SDL_ACTIVATED -DBYPASS_MENU -DFUNKEY_MENU
|
||||
LDFLAGS_EXTRA = -lSDL_mixer -lSDL_image -lSDL_ttf
|
||||
SDL_INCLUDES += `libmikmod-config --cflags`
|
||||
SDL_LIBS += `libmikmod-config --libs`
|
||||
endif
|
||||
|
||||
ifeq ($(platform), funkey_simulated_editor)
|
||||
CFLAGS_EXTRA = -DFUNKEY -DHW_SCREEN_RESIZE -DSOUND_SDL_ACTIVATED
|
||||
LDFLAGS_EXTRA = -lSDL_mixer
|
||||
SDL_INCLUDES += `libmikmod-config --cflags`
|
||||
|
||||
Reference in New Issue
Block a user