aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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