X-Git-Url: https://git.llucax.com/z.facultad/75.42/euler.git/blobdiff_plain/977e05b75c7af07b8b733b0ce17c0f9e5cefa13b..cd5e734a119e8827615d5a51820d048f32efdcae:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 33d8e28..8b49c86 100644 --- a/Makefile +++ b/Makefile @@ -18,12 +18,40 @@ CFLAGS=-ansi -pedantic -Wall -g3 # Programa a compilar. -TARGETS=tp1 +TARGETS=carga.o calculo.o grafico.o # Regla por defecto. -all: $(TARGETS) +all: tp1 + +tp1: $(TARGETS) # Regla para borrar. clean: @echo "Limpiando..." - @rm -fv $(TARGETS) *.o core + @rm -fR $(TARGETS) *.o core tp1 corrida_*.txt html latex + +# Corridas. +corrida_2.txt: tp1 + @./tp1 2 > corrida_2.txt + +corrida_2_200__150.txt: tp1 + @./tp1 2 200 -150 > corrida_2_200__150.txt + +corrida_50_5000.txt: tp1 + @./tp1 50 5000 > corrida_50_5000.txt + +# Corridas con error. +corrida_2__200__150.txt: tp1 + @(./tp1 2 -200 -150 2> corrida_2__200__150.txt) || true + +corrida_2_20a0__150.txt: tp1 + @(./tp1 2 20a0 -150 2> corrida_2_20a0__150.txt) || true + +# Crea todas las corridas. +corridas: corrida_2.txt corrida_2_200__150.txt corrida_50_5000.txt \ + corrida_2__200__150.txt corrida_2_20a0__150.txt + +# Informe. +informe: corridas + @doxygen + @cd latex && make refman.pdf && cd ..