https://github.com/hannorein/rebound
Revision 486c368aa6652649e4abae0e77669c1a5f8f46ba authored by Hanno Rein on 13 November 2023, 23:34:34 UTC, committed by Hanno Rein on 13 November 2023, 23:34:34 UTC
1 parent 4a39e0d
Raw File
Tip revision: 486c368aa6652649e4abae0e77669c1a5f8f46ba authored by Hanno Rein on 13 November 2023, 23:34:34 UTC
Updating version to 4.0.0
Tip revision: 486c368
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