diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-11-20 16:53:33 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-11-20 16:53:33 +0100 |
commit | 87feae8a58bcda71b2e60a9156f678f3c4cec6d7 (patch) | |
tree | d0fb3837d45088dc0758eb27b8c575c2e6b2870c /nrf528xx/makefile | |
parent | 4413a40440a48aa0f79ae4bec0adf3a68408a0e3 (diff) |
add clang-tidy and clang-format
Diffstat (limited to 'nrf528xx/makefile')
-rw-r--r-- | nrf528xx/makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nrf528xx/makefile b/nrf528xx/makefile new file mode 100644 index 0000000..ab7d624 --- /dev/null +++ b/nrf528xx/makefile @@ -0,0 +1,10 @@ +.PHONY: format + +SRCS := + +SRCS += $(wildcard *.c) +SRCS += $(wildcard *.h) + +format: + clang-format -i $(SRCS) + clang-tidy --fix-errors $(SRCS) |