https://github.com/hannorein/rebound
Raw File
Tip revision: 4c981c86965c98cf82743d3463daed463bfa8b65 authored by Hanno Rein on 13 February 2024, 16:02:38 UTC
Updating version to 4.3.1
Tip revision: 4c981c8
Makefile
# This Makefile compiles the shared dynamic library librebound.so
include src/Makefile.defs

librebound: 
	$(MAKE) -C src 
	@$(LINKORCOPYLIBREBOUNDMAIN)
	@echo "To compile the example problems, go to a subdirectory of examples/ and execute make there."

.PHONY: pythoncopy
pythoncopy:
	-cp librebound.so `python -c "import rebound; print(rebound.__libpath__)"`
	
all: librebound pythoncopy

clean:
	$(MAKE) -C src clean
back to top