From 5a102569915ae459f92c0b7606811fe55405eef9 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Wed, 10 Jun 2015 15:20:02 +1200 Subject: Added object clean recipe to Makefile --- Makefile | 8 +++++--- 1 file 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 -- cgit v1.1