aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 34a1f60..979878e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
all: mbrot-gen
mbrot-gen: mbrot-gen.c
- $(CC) -o $@ $@.c -lm -lpthread -Wall -Wextra
+ $(CC) -o $@ $< -lm -lpthread -Wall -Wextra
.PHONY: all clean