From 078c11f99102205e404d9a0473a600ebb01914fe Mon Sep 17 00:00:00 2001 From: Alessandro Salerno <67583725+Alessandro-Salerno@users.noreply.github.com> Date: Mon, 11 Nov 2024 14:37:23 +0100 Subject: [PATCH] Update Makefile --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 677ad80..ca8f76f 100644 --- a/Makefile +++ b/Makefile @@ -87,6 +87,14 @@ plugin-sdk: $(SDK_OBJ) @echo Compiling Plugin SDK @$(CC) -r $(SDK_OBJ) -o $(BIN)/plugin-sdk.o +install: release + mkdir tarman && \ + cp ./bin/tarman ./tarman/tarman && \ + tar -cvzf ./tarman-package.tar.gz ./tarman && \ + rm -rf ./tarman && \ + ./bin/tarman install -f tar.gz -n tarman -p ./tarman-package.tar.gz && \ + rm ./tarman-package.tar.gz + $(PLUGIN_MAKEFILES): force @echo Compiling plugin "'$(@D)'" @$(MAKE) -C $(@D) DIST="../../$(BIN)/plugins" CC="$(CC)" SDK="../../$(BIN)/plugin-sdk.o" SDK_FLAGS="$(CUSTOM_CFLAGS) $(CUSTOM_LDFLAGS) -I../../include/" > /dev/null