From 705c73e06154e20c7fcfd33c2582509a3bd58fae Mon Sep 17 00:00:00 2001 From: Jaby Date: Wed, 28 Sep 2022 20:27:48 +0200 Subject: [PATCH] Prepare splash target --- src/Library/Library.code-workspace | 2 +- src/Library/Makefile | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Library/Library.code-workspace b/src/Library/Library.code-workspace index 94b6f8e3..c9bcaf07 100644 --- a/src/Library/Library.code-workspace +++ b/src/Library/Library.code-workspace @@ -47,7 +47,7 @@ { "id": "target", "type": "pickString", - "options": ["build", "clean", "rebuild"], + "options": ["build", "clean", "rebuild", "splash"], "default": "build", "description": "build target", } diff --git a/src/Library/Makefile b/src/Library/Makefile index 91056301..9a206061 100644 --- a/src/Library/Makefile +++ b/src/Library/Makefile @@ -20,7 +20,12 @@ $(LIB_DIR)/$(ARTIFACT).a: $(TARGET).a @mkdir -p $(LIB_DIR) cp $(TARGET).a $(LIB_DIR)/$(ARTIFACT).a +ressources/Splash.cpp: ressources/Splash.png + echo wuff + #Rules section for default compilation and linking +splash: ressources/Splash.cpp + all: $(LIB_DIR)/$(ARTIFACT).a clean: