Makefile.am 363 Bytes
Newer Older
Mati's avatar
Mati committed
1 2
SUBDIRS = src

Mati's avatar
Mati committed
3 4 5 6 7 8 9 10
style:
	find . -name "*.[ch]" -exec perl -pi -e 's/[ \t]+$$//' {} \;
	find . -name "*.[ch]" -exec astyle --formatted --mode=c --suffix=none \
		--indent=spaces=2 --indent-switches --indent-preprocessor \
		--keep-one-line-blocks --max-instatement-indent=60 \
		--brackets=linux --pad-oper --unpad-paren --pad-header \
		--align-pointer=name {} \;