aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 15 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 2155733..0162825 100644
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,28 @@
all: fractal-gen symlinks
symlinks: fractal-gen
- ln -sf $< mbrot-gen
- ln -sf $< bship-gen
+ ln -sf $< mandelbrot-gen
+ ln -sf $< burning-ship-gen
+ ln -sf $< burning-ship-lattice-gen
+ ln -sf $< tricorn-gen
+
+fractal-gen: fractal-gen.o \
+ algorithms/mandelbrot.o \
+ algorithms/burning-ship.o \
+ algorithms/burning-ship-lattice.o \
+ algorithms/tricorn.o
-fractal-gen: fractal-gen.o mbrot.o bship.o
$(CC) -o $@ $^ -lm -lpthread
%.o: %.c
$(CC) -c -o $@ $< -Wall -Wextra -Werror
-
.PHONY: all clean symlinks
clean:
rm fractal-gen \
- mbrot-gen \
- bship-gen \
- *.o \
+ mandelbrot-gen \
+ burning-ship-gen \
+ burning-ship-lattice-gen \
+ tricorn-gen \
+ **/*.o \
-f