Keyboard firmwares for Atmel AVR and Cortex-M
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.

makefile 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #
  2. # LUFA Library
  3. # Copyright (C) Dean Camera, 2014.
  4. #
  5. # dean [at] fourwalledcubicle [dot] com
  6. # www.lufa-lib.org
  7. #
  8. # Static anlysis of the entire LUFA source tree, using the free cross-platform "cppcheck" tool.
  9. # Path to the LUFA library core
  10. LUFA_PATH := ../../LUFA/
  11. CPPCHECK_EXCLUDES := FATFs/ \
  12. PetiteFATFs/ \
  13. uip/
  14. CPPCHECK_INCLUDES := $(patsubst %/,%,$(LUFA_PATH))/CodeTemplates/ \
  15. $(patsubst %/,%,$(LUFA_PATH))/../Projects/AVRISP-MKII/
  16. CPPCHECK_FLAGS := -U TEMPLATE_FUNC_NAME -U __GNUC__ -U __DOXYGEN__
  17. CPPCHECK_SUPPRESS := variableScope missingInclude unusedFunction
  18. SRC := $(patsubst %/,%,$(LUFA_PATH))/..
  19. # Build test cannot be run with multiple parallel jobs
  20. .NOTPARALLEL:
  21. all: begin cppcheck end
  22. begin:
  23. @echo Executing build test "StaticAnalysisTest".
  24. @echo
  25. end:
  26. @echo Build test "StaticAnalysisTest" complete.
  27. @echo
  28. %:
  29. .PHONY: all begin end
  30. # Include LUFA build script makefiles
  31. include $(LUFA_PATH)/Build/lufa_core.mk
  32. include $(LUFA_PATH)/Build/lufa_cppcheck.mk