1 .PHONY
: test target
clean snapshot
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
13 gcc
-O3
-std
=c99
-Wall
-c
-o
$@
$<
14 #gcc -g -std=c99 -Wall -c -o $@ $<
17 gcc
-O3
-std
=c99
-Wall
-o
$@
$< -lgmp
-lpthread
-lfrac
-L .
18 #gcc -g -std=c99 -Wall -o $@ $< -lgmp -lpthread -lfrac -L .
23 git diff
# Ideally should do nothing.
24 git archive
--format
=tar --prefix=frac-snapshot
/ HEAD | gzip
> frac-snapshot.
tar.gz
27 -rm *.o
$(TESTS
) $(BINS
) libfrac.a