mirror of
https://github.com/rvtr/SLOT-1-Boot-Menu.git
synced 2025-10-31 13:51:08 -04:00
33 lines
1014 B
Makefile
33 lines
1014 B
Makefile
#---------------------------------------------------------------------------
|
|
# Project: SLOT-1 Boot Menu
|
|
# File: Makefile (banner)
|
|
#
|
|
# This source code is derived from "os_jump" in the TwlSDK
|
|
#
|
|
# $Date:: 2024-02-01#$
|
|
# $Author: Lillian Skinner (rmc) $
|
|
#---------------------------------------------------------------------------
|
|
|
|
TARGET_PLATFORM = TWL
|
|
|
|
include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
|
|
|
BANNER_ICON = banner.bmp
|
|
BANNER_SPEC = banner.bsf
|
|
|
|
TARGETS = $(BANNER_SPEC:.bsf=.bnr)
|
|
|
|
BANNER_ICON_NAME = $(basename $(BANNER_ICON))
|
|
BANNER_ICON_MIDDLE = $(addprefix $(BANNER_ICON_NAME), .nbfs .nbfc .nbfp)
|
|
MAKEBANNER_FLAGS = -N $(BANNER_ICON_NAME)
|
|
|
|
LDIRT_CLEAN = $(TARGETS) \
|
|
$(BANNER_ICON_MIDDLE) \
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
do-build: $(BANNER_ICON_MIDDLE) $(TARGETS)
|
|
|
|
#----------------------------------------------------------------------------
|
|
include $(TWLSDK_ROOT)/build/buildtools/modulerules
|