diff options
| author | Bertrand <bertrand.horel@gmail.com> | 2016-03-01 14:32:31 +0000 |
|---|---|---|
| committer | Bertrand <bertrand.horel@gmail.com> | 2016-03-01 14:32:31 +0000 |
| commit | 69ef15f06495b92bd619963eb543cb098bab479c (patch) | |
| tree | 17043df5306d1ef334c2b44763cce1b003fbf5cd /Makefile | |
| parent | 96afa78f5fe1bafb95c96170932c7b4fc119ae7e (diff) | |
| download | projet_C++-69ef15f06495b92bd619963eb543cb098bab479c.tar.gz | |
on n'utilise plus rtnorm
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -3,6 +3,7 @@ CC=gcc RM = rm CXXFLAGS=-std=c++11 -g -O3 -Wall GSL_FLAGS:=$(shell pkg-config --libs gsl) +NLOPT_FLAGS:=$(shell pkg-config --libs nlopt) VPATH = src:doc all: rapport.pdf @@ -16,13 +17,11 @@ table.tex: make_table make_table: make_table.o mt19937.o $(CXX) $^ -o $@ -main: main.o rtnorm.o stratified_sampling.o mt19937.o var_alea.o opti.o +projet: projet.o stratified_sampling.o mt19937.o var_alea.o opti.o $(CXX) $^ -o $@ $(GSL_FLAGS) $(NLOPT_FLAGS) stratified_sampling.o: stratified_sampling.hpp -main.o: stratified_sampling.o - test: test.o mt19937.o $(CXX) $^ -o $@ @@ -35,5 +34,5 @@ option: option.o mt19937.o p_adic.o var_alea.o .PHONY: clean clean: - -$(RM) -f *.o test stratified_sampling main option make_table + -$(RM) -f *.o test stratified_sampling projet option make_table -latexmk -C rapport.pdf |
