mirror of
https://github.com/martijnvanbrummelen/nwipe.git
synced 2026-02-20 22:15:41 +00:00
10 lines
226 B
Makefile
10 lines
226 B
Makefile
SUBDIRS = src man
|
|
|
|
# The set of files to be formatted.
|
|
FORMATSOURCES = src/*.c src/*.h
|
|
format:
|
|
clang-format -i -style=file $(FORMATSOURCES)
|
|
|
|
check-format:
|
|
clang-format -i -style=file $(FORMATSOURCES) && git diff --exit-code
|