From fc0a5d3f0c6810f22369bb17c3048c0db4b1e1c6 Mon Sep 17 00:00:00 2001 From: Ru1722 Date: Tue, 7 Nov 2023 17:39:09 -0500 Subject: [PATCH] Makefile Modified the makefile in regards to the "make clean" command. When "make clean" was originally ran, it would remove the newly compiled binary. The original line would read: "rm -f *.o calc stack_test" so I removed "calc" from that line in the clean file. The new line should read as: "rm -f *.o stack_test" --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 242a2e4..ffe9265 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,6 @@ stack.o: stack.c stack.h $(CC) $(CFLAGS) stack.c $(LIBS) clean: - rm -f *.o calc stack_test + rm -f *.o stack_test .PHONY: calc