From 176c2d8be51bbf99362c65b878e3a031eee3fadd Mon Sep 17 00:00:00 2001 From: Vincenzo Nikodem Cesqui Podiani Date: Fri, 9 Oct 2026 17:27:33 +0200 Subject: [PATCH] Aggiunta creazione pacchetto tar di distribuzione --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index b9b10c9..e0d22bd 100644 --- a/makefile +++ b/makefile @@ -31,7 +31,9 @@ bundle: $(OBJECTS) $(CC) $^ -o dist/$(EXEC) $(BUNDLE_LDFLAGS) $(LDLIBS) @cp -L $$( $(PKG_CONFIG) --variable=libdir json-c )/libjson-c.so* dist/lib/ @cp -L $$( $(PKG_CONFIG) --variable=libdir ncurses )/libncurses*.so* dist/lib/ - @echo "=== Pacchetto portabile creato con successo in ./dist ===" + @tar czf productManager.tar.gz --directory dist/ . + @echo "=== Pacchetto portabile creato con successo in productManager.tar.gz ===" + @rm -fr dist/ clean: rm -rf $(BUILD_DIR) $(EXEC) dist *.json