From 8d95cdd68cb02a716ada1e0ff73562e82ae2d796 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 14 Aug 2023 09:50:45 +0800 Subject: updated --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 70902fb..3a193c7 100644 --- a/Makefile +++ b/Makefile @@ -27,8 +27,7 @@ cleanspec: @if [ $$? -eq 0 ]; then printf "$(MAGENTA)Files $(FILES) are removed successfully\n"; else printf "$(RED)Error: Files $(FILES) are not removed\n"; fi build: - @rm -rf $(PROG1) $(PROG1).app - @rm -rf $(PROG1) $(PROG2).app + @rm -f dist/$(PROG1) dist/$(PROG1).app dist/$(PROG1) dist/$(PROG2).app @printf "$(YELLOW)In porcess ... to compile the $(GREEN)$(PROG1)${NC}\n" $(CC) $(CFLAGS) $(PROG1) @printf "$(YELLOW)In porcess ... to compile the $(GREEN)$(PROG2)${NC}\n" -- cgit v1.2.3