blob: 425d8bd57a4ef013c519acfeb6e953ce8954256b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
CXX=g++
CC=gcc
RM = rm
CXXFLAGS=-std=c++11 -g -O3 -Wall
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
main.o: stratified_sampling.o
test: test.o mt19937.o
$(CXX) $^ -o $@
clean:
-$(RM) -f *.o test stratified_sampling main
|