https://github.com/hannorein/rebound
Revision 08ae38725c9106148374fc34299418f050a90269 authored by Hanno Rein on 09 February 2024, 22:05:19 UTC, committed by Hanno Rein on 09 February 2024, 22:05:19 UTC
1 parent 8f281d9
Raw File
Tip revision: 08ae38725c9106148374fc34299418f050a90269 authored by Hanno Rein on 09 February 2024, 22:05:19 UTC
Different initial conditions for non-existing particles in WHFast512
Tip revision: 08ae387
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