Implemented tee.
[frac.git] / Makefile
blob522fc9a638a3aae4cba4f6a6de7f3b4ad1cbb173
1 .PHONY: test target clean
3 CF_OBJS:=cf.o mobius.o famous.o bihom.o taylor.o test.o newton.o tee.o
4 TESTS:=bihom_test cf_test famous_test mobius_test newton_test tee_test
5 BINS:=pi epow
7 target : $(BINS)
9 libfrac.a : $(CF_OBJS)
10 ar rvs $@ $^
12 %.o : %.c
13 gcc -g -std=c99 -Wall -c -o $@ $<
15 % : %.c libfrac.a
16 #gcc -O3 -std=c99 -Wall -o $@ $< -lgmp -lpthread -lfrac -L .
17 gcc -g -std=c99 -Wall -o $@ $< -lgmp -lpthread -lfrac -L .
19 test: $(TESTS)
21 clean:
22 -rm *.o $(TESTS) $(BINS) libfrac.a