cannam@162: rem Use Astyle to fix style in 'C' files cannam@162: cd %1% cannam@162: cannam@162: fixlines -p *.c cannam@162: fixlines -p *.cpp cannam@162: fixlines -p *.cc cannam@162: cannam@162: astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.c cannam@162: astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.cpp cannam@162: astyle --style=ansi -c -o --convert-tabs --indent-preprocessor *.cc cannam@162: del *.orig cannam@162: @rem convert line terminators to Unix style LFs cannam@162: fixlines -u *.c cannam@162: fixlines -u *.cpp cannam@162: fixlines -u *.cc cannam@162: fixlines -u *.h cannam@162: del *.bak cannam@162: cannam@162: cd ..\