diff --git a/01_hello_world/Makefile b/01_hello_world/Makefile index 7f8f9f513f97b7c6a56056bd0a9eae526e93ad4f..ae824e3ea53c983c1ec342b038ce79e4660b3955 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 c1531e1f367f0e4c27e6aeec17f509f86c98ef60..794fef637ee3e6d3bcec9e0bea99272ad6a35f06 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