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