From 026d8376e7d2445c1f84f8bd6f3c1f2ec5385efc Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Fri, 22 Mar 2024 04:15:44 +0400 Subject: [PATCH] IN Makefile a clean target added. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f1d6fd7..9aaf773 100644 --- a/Makefile +++ b/Makefile @@ -22,4 +22,8 @@ $(OBJ_DIR)/%.o: $(SRC_DIR)/%.c | $(OBJ_DIR) $(CC) $(CFLAGS) $(LDFLAGS) -c $< -o $@ $(OBJ_DIR): - mkdir -p $@ \ No newline at end of file + mkdir -p $@ + +clean: + rm ${TARGET} + rm obj/*.o \ No newline at end of file