adding Makefile
This commit is contained in:
parent
7cd57e2376
commit
1266c24a19
1 changed files with 23 additions and 0 deletions
23
Makefile
Normal file
23
Makefile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue