blob: 5edda83725febe68ae205103ad2248c85cc126fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
CXX=g++
CC=gcc
RM = rm
CXXFLAGS=-std=c++11 -g -O2
GSL_FLAGS:=$(shell pkg-config --libs gsl)
main: main.o rtnorm.o stratified_sampling.o
$(CXX) $^ -o $@ $(GSL_FLAGS)
stratified_sampling.o: stratified_sampling.hpp
test: test.o mt19937.o
$(CXX) $^ -o $@
clean:
-$(RM) -f *.o test stratified_sampling main
|