about summary refs log tree commit diff stats
path: root/cpp
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-25 08:22:46 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-25 08:22:46 -0700
commit97f69507cd2a72b889f652dfd19943104ea9c34d (patch)
tree2e6d9b32ea9a7d4a35404c6b7a255ba8daaa0ceb /cpp
parentb4bbd479174fd06c13295f33845f39427c0776b3 (diff)
downloadmu-97f69507cd2a72b889f652dfd19943104ea9c34d.tar.gz
1199 - ignore errors in 'make clean'
Diffstat (limited to 'cpp')
-rw-r--r--cpp/enumerate/makefile2
-rw-r--r--cpp/makefile2
-rw-r--r--cpp/tangle/makefile2
-rw-r--r--cpp/termbox/makefile2
4 files changed, 4 insertions, 4 deletions
diff --git a/cpp/enumerate/makefile b/cpp/enumerate/makefile
index 2c685cd4..f2d0e460 100644
--- a/cpp/enumerate/makefile
+++ b/cpp/enumerate/makefile
@@ -2,4 +2,4 @@ tangle: makefile
 	g++ -O3 -Wall -Wextra -fno-strict-aliasing enumerate.cc -o enumerate
 
 clean:
-	rm -rf enumerate
+	-rm enumerate
diff --git a/cpp/makefile b/cpp/makefile
index d3a64f8d..ade746fd 100644
--- a/cpp/makefile
+++ b/cpp/makefile
@@ -49,4 +49,4 @@ clean:
 	cd enumerate && make clean
 	cd tangle && make clean
 	cd termbox && make clean
-	rm -rf mu.cc core.mu mu *_list
+	-rm mu.cc core.mu mu *_list
diff --git a/cpp/tangle/makefile b/cpp/tangle/makefile
index 24485652..cf4c3a88 100644
--- a/cpp/tangle/makefile
+++ b/cpp/tangle/makefile
@@ -20,4 +20,4 @@ test_list: [0-9]*.cc
 	@grep -h "^[[:space:]]*void test_" [0-9]*.cc |perl -pwe 's/^\s*void (.*)\(\) {$$/$$1,/' > test_list
 
 clean:
-	rm -rf tangle *_list
+	-rm tangle *_list
diff --git a/cpp/termbox/makefile b/cpp/termbox/makefile
index 21055318..8bdd2704 100644
--- a/cpp/termbox/makefile
+++ b/cpp/termbox/makefile
@@ -6,4 +6,4 @@ libtermbox.a: utf8.o termbox.o
 termbox.o: termbox.c input.inl output.inl bytebuffer.inl
 
 clean:
-	rm *.o libtermbox.a
+	-rm *.o libtermbox.a