aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2016-02-01 08:24:28 -0500
committerGuillaume Horel <guillaume.horel@gmail.com>2016-02-01 08:24:28 -0500
commitbe1296b2ad318a84f862e3ca768ca5eb7ba5972b (patch)
treea09241b950f0976d5cc2af4f6558f1ec2a225392
parent85556ed7760a3fb431a220876a298473fc885c56 (diff)
downloadprojet_C++-be1296b2ad318a84f862e3ca768ca5eb7ba5972b.tar.gz
link to the gsl
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6477798..8080a50 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,13 @@ CXX=g++
CC=gcc
RM = rm
CXXFLAGS=-O3
+GSL_FLAGS=`pkg-config --libs gsl`
+
+stratified_sampling: rtnorm.o stratified_sampling.o
+ $(CXX) $^ -o $@ $(GSL_FLAGS)
test: test.o mt19937.o
$(CXX) $^ -o $@
clean:
- -$(RM) -f *.o test
+ -$(RM) -f *.o test stratified_sampling