3 #     Copyright (C) Dean Camera, 2011.
 
   5 #  dean [at] fourwalledcubicle [dot] com
 
   9 # Static anlysis of the entire LUFA source tree, using the free cross-platform "cppcheck" tool.
 
  11 # Path to the root of the LUFA tree to scan
 
  12 LUFA_ROOT_PATH   = ../../
 
  14 # Filenames or directories (including fragments) to exclude from the analysis
 
  15 EXCLUDE_LIST     = HostLoaderApp/ FATFs/ PetiteFATFs/ uip/
 
  17 # Output message template for found warnings and errors
 
  18 MESSAGE_TEMPLATE = "{file}({line}): {severity} ({id}): {message}"
 
  21         cppcheck -q -f --error-exitcode=1 --inline-suppr --enable=style --suppress=variableScope --template $(MESSAGE_TEMPLATE) $(EXCLUDE_LIST:%=-i%) $(LUFA_ROOT_PATH)