adding Makefile

This commit is contained in:
Chris Cochrun 2023-03-06 11:08:29 -06:00
parent 7cd57e2376
commit 1266c24a19

23
Makefile Normal file
View file

@ -0,0 +1,23 @@
# SPDX-FileCopyrightText: Mikhail Zolotukhin <mail@gikari.com>
# 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