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