aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 040bfbf..1dc8c65 100644
--- a/Makefile
+++ b/Makefile
@@ -10,14 +10,18 @@ GSL_FLAGS:=$(shell pkg-config --libs gsl)
NLOPT_FLAGS:=$(shell pkg-config --libs nlopt)
VPATH = src:doc
+.PHONY: clean tables
+
all: rapport.pdf
-rapport.pdf: rapport.tex table.tex table2.tex
+rapport.pdf: rapport.tex tables
latexmk -cd -lualatex $<
+tables: table.tex table2.tex
+
table.tex: projet
./projet
-
+
table2.tex: projet
./projet
@@ -26,12 +30,10 @@ projet: projet.o stratified_sampling.o mt19937.o var_alea.o opti.o rqmc.o p_adic
stratified_sampling.o: stratified_sampling.hpp
-rqmc.o: rqmc.hpp
+rqmc.o: rqmc.hpp
p_adic.o: low_discrepancy.hpp
-.PHONY: clean
-
clean:
-$(RM) -f *.o test stratified_sampling projet option make_table
- -cd doc; latexmk -C
+ -cd doc; rm table.tex table2.tex; latexmk -C