Makefile (438B)
1 all: kranewl 2 3 kranewl: tags 4 cmake -DCMAKE_BUILD_TYPE=Debug -S . -B build 5 make -C build 6 7 release: 8 cmake -DCMAKE_BUILD_TYPE=Release -S . -B build 9 make -C build 10 11 install: 12 make -C build install 13 14 test: kranewl 15 ctest --verbose --test-dir build 16 17 .PHONY: clean tags 18 clean: 19 @rm -rf ./tags 20 @rm -rf ./build 21 @rm -f ./include/protocols/* 22 23 tags: 24 @git ls-files | ctags -R --exclude=.git --c++-kinds=+p --links=no --fields=+iaS --extras=+q -L-