A library and framework for developing CPU-CUDA compatible applications under one unified code.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
471 B

.PHONY: all docs install
all: install docs
docs: SHELL:=/bin/bash
docs:
if [ ! -d "docs/.venv" ]; then python3 -m venv "docs/.venv"; fi
( \
source docs/.venv/bin/activate;\
pip install -r docs/requirements.txt; \
doxygen docs/Doxyfile; \
sphinx-build -b html docs/source docs/build/html; \
deactivate \
)
install:
install -d $(DEST_DIR)/
install -d $(DEST_DIR)/include/
for file in include/*; do \
install -m 644 $$file $(DEST_DIR)/include/; \
done