aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-08-28 13:57:11 +0200
committerCharles <sircharlesaze@gmail.com>2019-08-28 13:57:11 +0200
commitdf6e7cbaa0edf2df8b5f3929a2eb34fa2aa5a28c (patch)
treeb27d14df93691892c8e906435b8c4ee9ac46b5bc /Makefile
parentff61da6fb9720106d7869a0e5026810450d8f515 (diff)
downloadmandelbrot-df6e7cbaa0edf2df8b5f3929a2eb34fa2aa5a28c.tar.gz
mandelbrot-df6e7cbaa0edf2df8b5f3929a2eb34fa2aa5a28c.tar.bz2
mandelbrot-df6e7cbaa0edf2df8b5f3929a2eb34fa2aa5a28c.zip
Proportionnal movement and zoom
Zooming and moving is proportionnal to the range we are viewing, feels more natural than incrementing by a constant value.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index dc19c48..fefc439 100644
--- a/Makefile
+++ b/Makefile
@@ -12,10 +12,10 @@ RM = rm -f
.PHONY: all
all: $(NAME)
-$(NAME): $(OBJ) $(HEADER)
+$(NAME): $(OBJ)
$(CC) $(LDFLAGS) $(CCFLAGS) -o $@ $(OBJ)
-%.o: %.c
+%.o: %.c $(HEADER)
$(CC) $(LDFLAGS) $(CCFLAGS) -c -o $@ $<
.PHONY: debug