mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
19 lines
386 B
Makefile
19 lines
386 B
Makefile
|
|
all: remove-build clean compile
|
|
|
|
remove-build:
|
|
rm -f build.ninja rules.ninja cmake_install.cmake CMakeCache.txt
|
|
rm -rf CMakeFiles
|
|
|
|
clean: build.ninja
|
|
ninja clean
|
|
|
|
build.ninja:
|
|
cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang
|
|
|
|
compile: build.ninja
|
|
ninja
|
|
|
|
format:
|
|
clang-format -i $$(find daemon llarp include | grep -E '\.[h,c](pp)?$$')
|