Peter's keyboard firmware (QMK) https://qmk.fm/
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.

build_full_test.mk 1.1KB

123456789101112131415161718192021222324252627282930313233
  1. # Copyright 2017 Fred Sundvik
  2. #
  3. # This program is free software: you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation, either version 2 of the License, or
  6. # (at your option) any later version.
  7. #
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. #include $(TMK_PATH)/protocol.mk
  16. TEST_PATH=tests/$(TEST)
  17. $(TEST)_SRC= \
  18. $(TEST_PATH)/keymap.c \
  19. $(TMK_COMMON_SRC) \
  20. $(QUANTUM_SRC) \
  21. $(SRC) \
  22. tests/test_common/matrix.c \
  23. tests/test_common/test_driver.cpp \
  24. tests/test_common/keyboard_report_util.cpp \
  25. tests/test_common/test_fixture.cpp
  26. $(TEST)_SRC += $(patsubst $(ROOTDIR)/%,%,$(wildcard $(TEST_PATH)/*.cpp))
  27. $(TEST)_DEFS=$(TMK_COMMON_DEFS) $(OPT_DEFS)
  28. $(TEST)_CONFIG=$(TEST_PATH)/config.h
  29. VPATH+=$(TOP_DIR)/tests/test_common