diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2015-06-10 15:20:02 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2015-06-10 15:20:02 +1200 |
commit | 5a102569915ae459f92c0b7606811fe55405eef9 (patch) | |
tree | 7364ec7162342ac4bd9de0927671757e28f413fd /Makefile | |
parent | 70b7e36de4a9db760c254b8f22d91ea4e6ddc9d8 (diff) | |
download | fractal-gen-5a102569915ae459f92c0b7606811fe55405eef9.tar.xz |
Added object clean recipe to Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |