Generated hpp file instead of cpp

This commit is contained in:
jaby 2022-10-02 11:01:22 +02:00
parent 7cfb2dab33
commit 1daeefc407
2 changed files with 3 additions and 4 deletions

View File

@ -1 +1 @@
src/BootLoader/splash_image_boot.cpp
src/BootLoader/splash_image_boot.hpp

View File

@ -3,7 +3,7 @@ JABY_ENGINE_DIR = ../../
ARTIFACT = libJabyEngine
BUILD_DIR = bin
SPLASH_IMAGE = src/BootLoader/splash_image_boot.cpp
SPLASH_IMAGE = src/BootLoader/splash_image_boot.hpp
CCFLAGS += -Iinclude -I../../include
CCFLAGS += -save-temps=obj
@ -11,7 +11,6 @@ CCFLAGS += -save-temps=obj
include ../../lib/Wildcard.mk
SRCS = $(call rwildcard, src, c cpp)
SRCS += src/syscall_printf.asm
SRCS += $(SPLASH_IMAGE)
include ../../lib/Makefile
LIB_DIR = ../../lib/$(CONFIG_NAME)
@ -29,7 +28,7 @@ $(SPLASH_IMAGE): ressources/Splash.png
jaby_engine_fconv $< simple-tim full16 | cpp_out --name SplashScreen -o $@
#Rules section for default compilation and linking
all: $(LIB_DIR)/$(ARTIFACT).a
all: $(SPLASH_IMAGE) $(LIB_DIR)/$(ARTIFACT).a
clean:
rm -fr $(SPLASH_IMAGE)