mirror of
https://github.com/nfc-tools/libnfc.git
synced 2025-12-23 18:50:05 +00:00
New custom "make cppcheck" target: run a cppcheck with usual args
This commit is contained in:
parent
7d986844c4
commit
c958201148
12
Makefile.am
12
Makefile.am
@ -36,3 +36,15 @@ style:
|
||||
--keep-one-line-blocks --max-instatement-indent=60 \
|
||||
--brackets=linux --pad-oper --unpad-paren --pad-header \
|
||||
--align-pointer=name {} \;
|
||||
|
||||
cppcheck:
|
||||
cppcheck --quiet \
|
||||
-I include -I libnfc -I libnfc/buses -I libnfc/chips -I libnfc/drivers \
|
||||
--check-config .
|
||||
cppcheck --quiet --enable=all --std=posix --std=c99 \
|
||||
-I include -I libnfc -I libnfc/buses -I libnfc/chips -I libnfc/drivers \
|
||||
-DLOG -D__linux__ \
|
||||
-DDRIVER_PN53X_USB_ENABLED -DDRIVER_ACR122_PCSC_ENABLED \
|
||||
-DDRIVER_ACR122_USB_ENABLED -DDRIVER_ACR122S_ENABLED \
|
||||
-DDRIVER_PN532_UART_ENABLED -DDRIVER_ARYGON_ENABLED \
|
||||
--force --inconclusive .
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user