https://github.com/hannorein/rebound
Revision 4a39e0d97a4df8bd8e0db53b25d5b3d03630b245 authored by Hanno Rein on 13 November 2023, 23:33:59 UTC, committed by Hanno Rein on 13 November 2023, 23:33:59 UTC
1 parent 5c5d887
Raw File
Tip revision: 4a39e0d97a4df8bd8e0db53b25d5b3d03630b245 authored by Hanno Rein on 13 November 2023, 23:33:59 UTC
relax setuptools
Tip revision: 4a39e0d
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