diff options
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..f95b912 --- /dev/null +++ b/makefile @@ -0,0 +1,12 @@ +#!/bin/sh + +all: charf_approx charf_exact charf_error + +charf_approx: charf.c double.h double.c + gcc -o $@ -D MODE=0 $^ -lm -pthread + +charf_error: charf.c double-error.h double-error.c + gcc -o $@ -D MODE=1 $^ -lm -pthread + +charf_exact: charf.c ratio.h ratio.c + gcc -o $@ -D MODE=2 $^ -lm -pthread |
