all: debug SIGN = gpg --sign --detach TARGETS = llarpd libllarp.so libllarp-static.a SIGS = $(TARGETS:=.sig) clean: rm -f build.ninja rules.ninja cmake_install.cmake CMakeCache.txt rm -rf CMakeFiles rm -f $(TARGETS) rm -f *.sig debug-configure: clean cmake -GNinja -DCMAKE_BUILD_TYPE=Debug release-configure: clean cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DRELEASE_MOTTO="$(shell cat motto.txt)" debug: debug-configure ninja release-compile: release-configure ninja strip $(TARGETS) $(TARGETS): release-compile %.sig: $(TARGETS) $(SIGN) $* release: $(SIGS) shadow-configure: clean cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DSHADOW=ON shadow: shadow-configure ninja format: clang-format -i $$(find daemon llarp include | grep -E '\.[h,c](pp)?$$')