From 59748691185c8e80e503ece0f95a7703e71b767f Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Thu, 21 Apr 2016 12:23:18 -0400 Subject: fix the Makefile --- Makefile | 14 ++++++++------ 1 file 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 -- cgit v1.2.3-70-g09d2