summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/makefile b/makefile
index f95b912..128ae25 100644
--- a/makefile
+++ b/makefile
@@ -2,11 +2,11 @@
all: charf_approx charf_exact charf_error
-charf_approx: charf.c double.h double.c
- gcc -o $@ -D MODE=0 $^ -lm -pthread
+charf_approx: charf.c misc.h misc.c double.h double.c
+ gcc -o $@ -D MODE=0 charf.c misc.c double.c -lm -pthread
-charf_error: charf.c double-error.h double-error.c
- gcc -o $@ -D MODE=1 $^ -lm -pthread
+charf_error: charf.c misc.h misc.c double-error.h double-error.c
+ gcc -o $@ -D MODE=1 charf.c misc.c double-error.c -lm -pthread
-charf_exact: charf.c ratio.h ratio.c
- gcc -o $@ -D MODE=2 $^ -lm -pthread
+charf_exact: charf.c misc.h misc.c ratio.h ratio.c
+ gcc -o $@ -D MODE=2 charf.c misc.c ratio.c -lm -pthread