GCC = g++
LINK.o = $(GCC)

INCLUDES = -I/usr/include/gsl -I/usr/include/gflags
LIBS = -lgsl -lgslcblas -lgflags

all : t-mcmc-inf 

dp_sample: t-mcmc-inf.o

%.o: %.cpp
	$(GCC) -c $(INCLUDES) $<

%: %.o
	$(LINK.o) $^ $(LIBS) -o $@

clean:
	rm -f *.o t-mcmc-inf
