heron_sqrt/Makefile

20 lines
238 B
Makefile
Raw Normal View History

2013-12-04 20:32:13 +00:00
CC?=cc
2013-12-11 12:57:26 +00:00
all: bericht
2013-12-04 20:32:13 +00:00
2013-12-11 12:57:26 +00:00
check: sqrt
2013-12-04 20:32:13 +00:00
./sqrt
2013-12-11 12:57:26 +00:00
sqrt: sqrt.c
$(CC) -lm -o sqrt sqrt.c
2013-12-04 20:32:13 +00:00
debug:
$(CC) -g -lm -o sqrt sqrt.c
gdb ./sqrt
2013-12-11 12:57:26 +00:00
graph.pdf: graph.dot
dot -Tpdf graph.dot > graph.pdf
2013-12-04 20:32:13 +00:00
2013-12-11 12:57:26 +00:00
bericht: graph.pdf sqrt
latexmk -pdf bericht.tex;