From 1266c24a196a7b992d0c999d9cd0595e0efb5cb6 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Mon, 6 Mar 2023 11:08:29 -0600 Subject: [PATCH] adding Makefile --- Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Makefile 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