aboutsummaryrefslogtreecommitdiff
path: root/makefile
blob: 3792250154597ffead96624d432c9c6b76a58bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
all: $(TARGET) # TARGET is defined in lazy.mk (build/main)

.PHONY: FORCE

doxygen: Doxyfile FORCE
	doxygen

FMT += $(shell git ls-files '*.c' '*.cpp' '*.h' '*.hpp')
format: FORCE
	clang-format -i $(FMT)
# clang tidy doesn't work that well :/
# clang-tidy --fix-errors $(FMT)