summaryrefslogtreecommitdiff
path: root/makefile
blob: 128ae25e2bac3d4963c8b9166177420ac9452b6f (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 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 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 misc.h misc.c ratio.h ratio.c
	gcc -o $@ -D MODE=2 charf.c misc.c ratio.c -lm -pthread