https://github.com/hannorein/rebound
Revision 99cae63da1594074f3597013e1f35993b6336df4 authored by Hanno Rein on 01 February 2024, 15:05:28 UTC, committed by Hanno Rein on 01 February 2024, 15:05:28 UTC
1 parent be33330
Raw File
Tip revision: 99cae63da1594074f3597013e1f35993b6336df4 authored by Hanno Rein on 01 February 2024, 15:05:28 UTC
checking new cibuildwheel
Tip revision: 99cae63
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