You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nheko/Makefile

21 lines
359 B

8 years ago
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
8 years ago
lint:
@clang-format -i $(SRC)
clean:
rm -rf build
.PHONY: build