aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBertrand <bertrand.horel@gmail.com>2016-02-19 15:05:06 +0000
committerBertrand <bertrand.horel@gmail.com>2016-02-19 15:05:06 +0000
commit27bc125063b58fb5d271ec124340dd3fcac44145 (patch)
tree60218d243815eeeb9330a3f306837e4ea099b88f /Makefile
parentd2b133901a65244934eb642ec8e20c797efaf650 (diff)
downloadprojet_C++-27bc125063b58fb5d271ec124340dd3fcac44145.tar.gz
maj du Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 474ef18..409385c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ CC=gcc
RM = rm
CXXFLAGS=-std=c++11 -g -O3 -Wall
GSL_FLAGS:=$(shell pkg-config --libs gsl)
+VPATH=src
main: main.o rtnorm.o stratified_sampling.o
$(CXX) $^ -o $@ $(GSL_FLAGS)
@@ -21,4 +22,4 @@ option: option.o mt19937.o p_adic.o
$(CXX) $^ -o $@ $(GSL_FLAGS)
clean:
- -$(RM) -f *.o test stratified_sampling main
+ -$(RM) -f *.o test stratified_sampling main option