aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-06-10 15:20:02 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-06-10 15:20:02 +1200
commit5a102569915ae459f92c0b7606811fe55405eef9 (patch)
tree7364ec7162342ac4bd9de0927671757e28f413fd /Makefile
parent70b7e36de4a9db760c254b8f22d91ea4e6ddc9d8 (diff)
downloadfractal-gen-5a102569915ae459f92c0b7606811fe55405eef9.tar.xz
Added object clean recipe to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0162825..01252cc 100644
--- a/Makefile
+++ b/Makefile
@@ -17,12 +17,14 @@ fractal-gen: fractal-gen.o \
%.o: %.c
$(CC) -c -o $@ $< -Wall -Wextra -Werror
-.PHONY: all clean symlinks
-clean:
+.PHONY: all clean clean-object symlinks
+clean: clean-object
rm fractal-gen \
mandelbrot-gen \
burning-ship-gen \
burning-ship-lattice-gen \
tricorn-gen \
- **/*.o \
-f
+
+clean-object:
+ rm -f **/*.o