You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qmk_firmware/BuildTests/StaticAnalysisTest/makefile

23 lines
764 B

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