summaryrefslogtreecommitdiff
path: root/makefile
blob: f95b9126ade06ddd983922d06a0969263874a7e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
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