heron_sqrt/Makefile

20 lines
238 B
Makefile

CC?=cc
all: bericht
check: sqrt
./sqrt
sqrt: sqrt.c
$(CC) -lm -o sqrt sqrt.c
debug:
$(CC) -g -lm -o sqrt sqrt.c
gdb ./sqrt
graph.pdf: graph.dot
dot -Tpdf graph.dot > graph.pdf
bericht: graph.pdf sqrt
latexmk -pdf bericht.tex;