From 548c36cc3dfbc076398fc26c0583dc542f350854 Mon Sep 17 00:00:00 2001
From: Erik Strand <erik.strand@cba.mit.edu>
Date: Wed, 21 Oct 2020 00:50:53 -0400
Subject: [PATCH] Update clean commands

---
 01_hello_world/Makefile        | 2 +-
 02_control_structures/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/01_hello_world/Makefile b/01_hello_world/Makefile
index 7f8f9f5..ae824e3 100644
--- a/01_hello_world/Makefile
+++ b/01_hello_world/Makefile
@@ -31,4 +31,4 @@ hello_world_cpp: hello_world.cpp
 # anything. Otherwise Make would get confused about when it should run this rule.
 .PHONY: clean
 clean:
-	rm hello_world_c hello_world_cpp
+	rm -f hello_world_c hello_world_cpp
diff --git a/02_control_structures/Makefile b/02_control_structures/Makefile
index c1531e1..794fef6 100644
--- a/02_control_structures/Makefile
+++ b/02_control_structures/Makefile
@@ -19,4 +19,4 @@ functions: functions.c
 
 .PHONY: clean
 clean:
-	rm loops functions
+	rm -f loops functions
-- 
GitLab