aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 474ef18..409385c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ CC=gcc
RM = rm
CXXFLAGS=-std=c++11 -g -O3 -Wall
GSL_FLAGS:=$(shell pkg-config --libs gsl)
+VPATH=src
main: main.o rtnorm.o stratified_sampling.o
$(CXX) $^ -o $@ $(GSL_FLAGS)
@@ -21,4 +22,4 @@ option: option.o mt19937.o p_adic.o
$(CXX) $^ -o $@ $(GSL_FLAGS)
clean:
- -$(RM) -f *.o test stratified_sampling main
+ -$(RM) -f *.o test stratified_sampling main option