diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2015-06-09 22:11:04 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2015-06-10 00:11:18 +1200 |
commit | 70b7e36de4a9db760c254b8f22d91ea4e6ddc9d8 (patch) | |
tree | e9a7d2666fb2a088b8913e6b851edeca251d1f64 /Makefile | |
parent | d29cb84f52f93e060c2ec0f020f56fea0636428d (diff) | |
download | fractal-gen-70b7e36de4a9db760c254b8f22d91ea4e6ddc9d8.tar.xz |
Made it easier to add new algos, added tricorn algo, burning ship lattice ship algo
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -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 |