mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-30 09:30:47 +03:00
20 lines
359 B
Makefile
20 lines
359 B
Makefile
SRC := $(shell find include src -type f -type f \( -iname "*.cc" -o -iname "*.h" \))
|
|
|
|
debug:
|
|
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Debug
|
|
@cmake --build build
|
|
|
|
release-debug:
|
|
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
|
@cmake --build build
|
|
|
|
run:
|
|
@./build/nheko
|
|
|
|
lint:
|
|
@clang-format -i $(SRC)
|
|
|
|
clean:
|
|
rm -rf build
|
|
|
|
.PHONY: build
|