Separate make files for easier use

This commit is contained in:
Jaby 2023-03-29 21:46:32 +02:00
parent bdceb88fd0
commit 2b8f3d69d6
3 changed files with 5 additions and 2 deletions

2
lib/ExportPath.mk Normal file
View File

@ -0,0 +1,2 @@
#Add the JabyEngine tools to path
export PATH := $(JABY_ENGINE_DIR)/bin/:$(PATH)

View File

@ -1,5 +1,5 @@
#Add the JabyEngine tools to path
export PATH := $(JABY_ENGINE_DIR)/bin/:$(PATH)
SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
include $(SELF_DIR)ExportPath.mk
#Build architecture/variant string, possible values: x86, armv7le, etc...
PLATFORM ?= PSX

View File

@ -42,6 +42,7 @@ $(LIB_DIR)/$(notdir $(OVERLAY_BOOT_OBJ)): $(OVERLAY_BOOT_OBJ)
cp $(OVERLAY_BOOT_OBJ) $(LIB_DIR)/$(notdir $(OVERLAY_BOOT_OBJ))
# Improve later
# rule to make the boot image
$(SPLASH_IMAGE): ressources/Splash.png
jaby_engine_fconv --lz4 $< simple-tim full16 | cpp_out --name SplashScreen -o $@