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

.PHONY: FORCE

doxygen: Doxyfile FORCE
	doxygen

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

include lazy.mk