aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ae43d5a..2155733 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ symlinks: fractal-gen
ln -sf $< bship-gen
fractal-gen: fractal-gen.o mbrot.o bship.o
- $(CC) -o $@ $? -lm -lpthread
+ $(CC) -o $@ $^ -lm -lpthread
%.o: %.c
$(CC) -c -o $@ $< -Wall -Wextra -Werror