Distances on Directed Graphs in R
1PKG_CXXFLAGS += -DRCPP_PARALLEL_USE_TBB=1
2
3PKG_LIBS += $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
4PKG_LIBS += $(shell "${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" \
5 -e "RcppParallel::RcppParallelLibs()")
6
7OBJ_HEAPS = heaps/bheap.o heaps/fheap.o heaps/heap23.o \
8 heaps/triheap_ext.o heaps/triheap.o
9OBJ_SRC = centrality.o concaveman.o deduplicate.o dgraph.o pathfinders.o \
10 dodgr-to-sf.o flows.o fund-cycles.o graph-contract.o graph.o graph-sample.o \
11 match-points.o RcppExports.o run_sp.o run_sp_categorical.o \
12 sc-as-network.o sf-as-network.o turn_penalty.o
13OBJECTS = $(OBJ_HEAPS) $(OBJ_SRC)
14
15.PHONY: all clean
16
17all: $(SHLIB) $(clean)
18
19clean: $(SHLIB)
20 rm -rf $(OBJECTS)