mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-09-12 21:40:23 +00:00
+ cleans up Stan model compilation by switching over to the rstantools-based workflow (see https://mc-stan.org/rstantools/articles/minimal-rstan-package.html for more info) + minor documentation change: {devtools} -> {remotes}, which is better for end-users + adds RStudio project file which makes it easier for community to get started with contributing to the package
14 lines
424 B
Text
14 lines
424 B
Text
# Generated by rstantools. Do not edit by hand.
|
|
|
|
STANHEADERS_SRC = $(shell "$(R_HOME)/bin$(R_ARCH_BIN)/Rscript" -e "message()" -e "cat(system.file('include', 'src', package = 'StanHeaders', mustWork = TRUE))" -e "message()" | grep "StanHeaders")
|
|
|
|
PKG_CPPFLAGS = -I"../inst/include" -I"$(STANHEADERS_SRC)" -DBOOST_DISABLE_ASSERTS -DEIGEN_NO_DEBUG
|
|
|
|
CXX_STD = CXX14
|
|
|
|
all: $(SHLIB)
|
|
|
|
clean:
|
|
RM -rf *.so *.o
|
|
|
|
.phony: all clean
|