diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..945f4dc --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +# SPDX-FileCopyrightText: Mikhail Zolotukhin +# SPDX-License-Identifier: MIT + +MAKEFLAGS += --always-make + +all: build + +clean: + scripts/clean.sh + +build: + cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCMAKE_BUILD_TYPE=Debug -B bld/ . && make -j8 --dir bld/ && rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/ + +install: build + scripts/install.sh + +uninstall: + scripts/uninstall.sh +docs: + npx typedoc --out build/docs + +test: + scripts/test.sh