aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-06-06 23:05:09 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-06-06 23:05:09 +1200
commita157d1890add21eceddae2adee6213f302bc1bd2 (patch)
tree64d078e0b3dfb4f4d26a6b731a50f70e2ea22be1 /Makefile
parent0ba9c463c9758709b4da0a3b9fadc17c2b2a4ff0 (diff)
downloadfractal-gen-a157d1890add21eceddae2adee6213f302bc1bd2.tar.xz
Added -Werror, migrated to multi-fractal thing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 979878e..ffb0d46 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,16 @@
-all: mbrot-gen
+all: fractal-gen symlinks
-mbrot-gen: mbrot-gen.c
- $(CC) -o $@ $< -lm -lpthread -Wall -Wextra
+symlinks: fractal-gen
+ ln -sf $< mbrot-gen
+ ln -sf $< bship-gen
+
+fractal-gen: fractal-gen.c
+ $(CC) -o $@ $< -lm -lpthread -Wall -Wextra -Werror
.PHONY: all clean
clean:
- - rm mbrot-gen -f
+ rm fractal-gen \
+ mbrot-gen \
+ bship-gen \
+ -f