From be1296b2ad318a84f862e3ca768ca5eb7ba5972b Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Mon, 1 Feb 2016 08:24:28 -0500 Subject: link to the gsl --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2