Add indent directive in root Makefile.

This commit is contained in:
Romuald Conty 2010-07-20 13:38:58 +00:00
parent 0a87c18e7e
commit d97876714c

View file

@ -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) '{}' \;