Revision bc7a64255513953dd4426021b3b8f038e5e12674 authored by Hanno Rein on 23 September 2023, 23:46:11 UTC, committed by Hanno Rein on 23 September 2023, 23:46:11 UTC
1 parent 2e5e7e8
Raw File
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