Skip to content

Commit

Permalink
Added zip utility for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasvlevi committed May 4, 2024
1 parent 4350d48 commit f5d0e30
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
PLATFORM ?= gnu

APP_NAME = lu5
VERSION = 0.0.2

SRCDIR = src
BINDIR = bin
Expand Down Expand Up @@ -45,9 +46,6 @@ DEP = $(OBJECTS:.o=.d)

all: $(BIN)

test:
echo $(OBJECTS)

-include $(DEP)

$(OBJDIR)/%.o: src/%.c
Expand All @@ -63,14 +61,17 @@ else
endif


.PHONY: all clean install docs win
.PHONY: all clean install docs zip

run: $(BIN)
$(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)

Expand Down

0 comments on commit f5d0e30

Please sign in to comment.