From 4c07bbfd53918f40e91e3b0a8806b7c3c744c29f Mon Sep 17 00:00:00 2001 From: Stefanos Kornilios Mitsis Poiitidis Date: Thu, 26 Dec 2024 13:23:28 +0200 Subject: [PATCH] Make KOS_BASE optional --- dreamcast/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dreamcast/Makefile b/dreamcast/Makefile index 07397f5b..6cf173b0 100644 --- a/dreamcast/Makefile +++ b/dreamcast/Makefile @@ -104,7 +104,11 @@ KOS_CPPFLAGS += -fbuiltin -ffast-math -ffp-contract=fast \ # re-creation of the rom disk. all: $(TARGET) +ifdef KOS_BASE include $(KOS_BASE)/Makefile.rules +else +$(warning "KOS_BASE is not set. Only prebuilt targets will work.") +endif DEPS = $(OBJS:.o=.d) $(OBJS_TEXCONV:.o:.d)