nheko/Makefile

21 lines
359 B
Makefile
Raw Normal View History

2017-04-30 14:10:59 +02:00
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
2017-04-06 03:07:53 +02:00
release-debug:
@cmake -H. -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo
@cmake --build build
run:
@./build/nheko
2017-04-06 13:58:48 +02:00
2017-04-30 14:10:59 +02:00
lint:
@clang-format -i $(SRC)
2017-04-06 03:07:53 +02:00
clean:
rm -rf build
.PHONY: build