summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-08-14 09:50:45 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-08-14 09:50:45 +0800
commit8d95cdd68cb02a716ada1e0ff73562e82ae2d796 (patch)
treefc8cbf5ac92049949617d9d936b521ffc4dc2a2c /Makefile
parent6eacfb66535620220c42952ac7230ae855f290dd (diff)
updated
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
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"