Revision db8b90bbd3e6d94e1cffc89e326856a5928d98e3 authored by Hanno Rein on 19 March 2024, 21:23:51 UTC, committed by Hanno Rein on 19 March 2024, 21:23:51 UTC
1 parent 4e94bc4
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
Computing file changes ...