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