corrected lib name

This commit is contained in:
Sylvain PILLOT 2022-05-09 18:35:27 +02:00
parent 54554172a6
commit 4ad5282ccd
2 changed files with 27 additions and 1 deletions

View File

@ -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"

26
giteapc.make Normal file
View File

@ -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