diff --git a/contrib/backends/nntpchan-daemon/Makefile b/contrib/backends/nntpchan-daemon/Makefile index f20d477..4e6632f 100644 --- a/contrib/backends/nntpchan-daemon/Makefile +++ b/contrib/backends/nntpchan-daemon/Makefile @@ -20,6 +20,8 @@ TOOL_PATH := $(REPO)/tools TOOL_SRC := $(wildcard $(TOOL_PATH)/*.cpp) TOOLS := $(TOOL_SRC:.cpp=) +SRCS = $(NNTPCHAN_SRC) $(MUSTACHE_SRC) $(TOOL_SRC) + OBJ := $(NNTPCHAN_OBJ) OBJ += $(MUSTACHE_OBJ) @@ -51,6 +53,9 @@ EXE = $(REPO)/nntpd all: build +format: + clang-format -i $(SRCS) + build: $(EXE) tools $(MUSTACHE_LIB): $(MUSTACHE_OBJ)