diff options
| author | Guillaume Horel <guillaume.horel@serenitascapital.com> | 2016-02-10 11:09:50 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@serenitascapital.com> | 2016-02-10 11:09:50 -0500 |
| commit | 285fb5cdc5f88d9591c5173c8952931b1d97edeb (patch) | |
| tree | 1dbddc57777de52bbc54f8817da244211fcc3c4e | |
| parent | 93801d7fb79cbc280c559edcdd430a432b94e15a (diff) | |
| download | projet_C++-285fb5cdc5f88d9591c5173c8952931b1d97edeb.tar.gz | |
Better Makefile
- compile with -Wall to display better warnings
- add better dependency on stratified_sampling.hpp
(to prevent having to do a make clean, then make)
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,7 +1,7 @@ CXX=g++ CC=gcc RM = rm -CXXFLAGS=-std=c++11 -g -O2 +CXXFLAGS=-std=c++11 -g -O3 -Wall GSL_FLAGS:=$(shell pkg-config --libs gsl) main: main.o rtnorm.o stratified_sampling.o @@ -9,6 +9,8 @@ main: main.o rtnorm.o stratified_sampling.o stratified_sampling.o: stratified_sampling.hpp +main.o: stratified_sampling.o + test: test.o mt19937.o $(CXX) $^ -o $@ |
