diff --git a/Makefile.am b/Makefile.am index 1094fcb..58e98d0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,3 +19,7 @@ doc : Doxyfile .PHONY: doc endif + +INDENT_CMD = indent -br -brs -ce --line-length120 -nut -i2 +indent: + find $(top_srcdir)/libnfc $(top_srcdir)/include $(top_srcdir)/examples -name "*.[hc]" -exec $(INDENT_CMD) '{}' \;