aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 040bfbf..de4a038 100644
--- a/Makefile
+++ b/Makefile
@@ -10,15 +10,14 @@ 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 table.tex table2.tex table3.tex
latexmk -cd -lualatex $<
-table.tex: projet
- ./projet
-
-table2.tex: projet
+table.tex table2.tex table3.tex: projet
./projet
projet: projet.o stratified_sampling.o mt19937.o var_alea.o opti.o rqmc.o p_adic.o option.o sobolseq.o
@@ -26,12 +25,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 table3.tex; latexmk -C