From f5d0e30555a75724a469baccedd101d77086dafc Mon Sep 17 00:00:00 2001 From: vlev Date: Fri, 3 May 2024 23:37:36 -0400 Subject: [PATCH] Added zip utility for linux --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7a993be0..1cebc01e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ PLATFORM ?= gnu APP_NAME = lu5 +VERSION = 0.0.2 SRCDIR = src BINDIR = bin @@ -45,9 +46,6 @@ DEP = $(OBJECTS:.o=.d) all: $(BIN) -test: - echo $(OBJECTS) - -include $(DEP) $(OBJDIR)/%.o: src/%.c @@ -63,7 +61,7 @@ else endif -.PHONY: all clean install docs win +.PHONY: all clean install docs zip run: $(BIN) $(BIN) @@ -71,6 +69,9 @@ run: $(BIN) docs: $(BIN) $(BIN) ./tasks/$(DOC_BUILD_SCRIPT) +zip: + zip $(BINDIR)/linux/lu5-x86_64-linux-$(VERSION).zip $(BIN) + install: cp $(BIN) /usr/bin/$(APP_NAME)