From d6707d11d58a88277016786a29dcd6a471f56f6f Mon Sep 17 00:00:00 2001 From: mithe24 Date: Fri, 10 Oct 2025 15:19:04 +0200 Subject: build(Deploy): Added `deploy` target for archiving program in a `.tar.gz` `make deploy` compresses and adds executable to a `.tar.gz` archive. It also adds `README.md` to `usr/bin/sorter/doc/' --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4a8d66f..2694891 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,10 @@ $(BUILD_DIR)/%.o: $(SRC_DIR)/%.s @mkdir -p $(dir $@) $(AS) $(ASFLAGS) $< -o $@ +deploy: $(TARGET) + tar -czvf $(TARGET).tar.gz $(TARGET) README.md + clean: rm -r $(BUILD_DIR) $(TARGET) -.PHONY: all clean +.PHONY: all clean deploy -- cgit v1.2.3-70-g09d2