From 4ad5282ccdedaf695f437a73964b292e17dd0c8e Mon Sep 17 00:00:00 2001 From: Slyvtt Date: Mon, 9 May 2022 18:35:27 +0200 Subject: [PATCH] corrected lib name --- CMakeLists.txt | 2 +- giteapc.make | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 giteapc.make diff --git a/CMakeLists.txt b/CMakeLists.txt index ba3171d..5453984 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,7 +59,7 @@ add_compile_options(-Os -lm -m4-nofpu -mb -std=c11 -ffreestanding -nostdlib -Wa, # Target name is "cJPG", output file is "libcJPG.a" (by default) add_library(cJPG STATIC ${SOURCES}) # After building, install the target (that is, libcJPG.a) in the compiler -install(TARGETS cPNG +install(TARGETS cJPG DESTINATION "${FXSDK_COMPILER_INSTALL}") # Install jpeglib.h from the build dir install(FILES "${PROJECT_SOURCE_DIR}/jpeglib.h" diff --git a/giteapc.make b/giteapc.make new file mode 100644 index 0000000..453f68d --- /dev/null +++ b/giteapc.make @@ -0,0 +1,26 @@ +# giteapc: version=1 depends=Lephenixnoir/gint,Lephenixnoir/sh-elf-gcc,Lephenixnoir/fxsdk,Lephenixnoir/OpenLibm,Vhex-Kernel-Core/fxlibc +-include giteapc-config.make + + +configure: + @ fxsdk build-fx -c + @ fxsdk build-cg -c + +build: + @ fxsdk build-fx + @ fxsdk build-cg + +install: + @ fxsdk build-fx install + @ fxsdk build-cg install + +uninstall: + @ if [ -e build-fx/install_manifest.txt ]; then \ + xargs rm -f < build-fx/install_manifest.txt; \ + fi + @ if [ -e build-cg/install_manifest.txt ]; then \ + xargs rm -f < build-cg/install_manifest.txt; \ + fi + +.PHONY: configure build install uninstall +