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

.PHONY: FORCE

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