Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro-Salerno authored Nov 11, 2024
1 parent a2b1538 commit 078c11f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 078c11f

Please sign in to comment.