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