aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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