First configuratable JabyEngine prototype

This commit is contained in:
Jaby
2024-02-09 11:30:55 -05:00
committed by Jaby
parent 973f8af6bc
commit 0fc19a4f9b
7 changed files with 84 additions and 17 deletions

View File

@@ -6,9 +6,19 @@ ARTIFACT = libJabyEngine_$(TV_FORMAT)
SPLASH_IMAGE = src/BootLoader/splash_image_pal_boot.hpp
SPLASH_IMAGE_NTSC = src/BootLoader/splash_image_ntsc_boot.hpp
#TODO: v Check if we need this include still
CCFLAGS += -Iinclude -I../../include -D__friends=public
CCFLAGS += -save-temps=obj
ifdef CUSTOM_CONFIG
#TODO: Custom config build var
CCFLAGS += -I../../config/$(CUSTOM_CONFIG) -imacros ../../config/$(CUSTOM_CONFIG)/jabyengine_custom_defines.hpp
#TODO: v Or here? v Do we want this here?
CONFIG_NAME = $(PLATFORM)-$(BUILD_PROFILE)/$(CUSTOM_CONFIG)
else
CONFIG_NAME = $(PLATFORM)-$(BUILD_PROFILE)
endif
include ../../mkfile/Wildcard.mk
SRCS = $(call rwildcard, src, c cpp s)