Rename sources variable in makefile.

This commit is contained in:
louib
2019-12-28 12:28:19 -05:00
parent 494d269936
commit 254ef3236e

View File

@@ -1,9 +1,9 @@
AUTOMAKE_OPTIONS = foreign
SUBDIRS = src man
nwipe_SOURCES = src/*.c src/*.h
NWIPESOURCES = src/*.c src/*.h
format:
clang-format -i -style=file $(nwipe_SOURCES)
clang-format -i -style=file $(NWIPESOURCES)
check-format:
clang-format -i -style=file $(nwipe_SOURCES) && git diff-index --quiet HEAD
clang-format -i -style=file $(NWIPESOURCES) && git diff-index --quiet HEAD