logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

rules.mk (2330B)


  1. # Copyright 2021 Simon Arlott
  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. DEBOUNCE_COMMON_DEFS := -DMATRIX_ROWS=4 -DMATRIX_COLS=10 -DDEBOUNCE=5
  16. DEBOUNCE_COMMON_SRC := $(QUANTUM_PATH)/debounce/tests/debounce_test_common.cpp \
  17. $(PLATFORM_PATH)/timer.c \
  18. $(PLATFORM_PATH)/$(PLATFORM_KEY)/timer.c
  19. debounce_none_DEFS := $(DEBOUNCE_COMMON_DEFS)
  20. debounce_none_SRC := $(DEBOUNCE_COMMON_SRC) \
  21. $(QUANTUM_PATH)/debounce/none.c \
  22. $(QUANTUM_PATH)/debounce/tests/none_tests.cpp
  23. debounce_sym_defer_g_DEFS := $(DEBOUNCE_COMMON_DEFS)
  24. debounce_sym_defer_g_SRC := $(DEBOUNCE_COMMON_SRC) \
  25. $(QUANTUM_PATH)/debounce/sym_defer_g.c \
  26. $(QUANTUM_PATH)/debounce/tests/sym_defer_g_tests.cpp
  27. debounce_sym_defer_pk_DEFS := $(DEBOUNCE_COMMON_DEFS)
  28. debounce_sym_defer_pk_SRC := $(DEBOUNCE_COMMON_SRC) \
  29. $(QUANTUM_PATH)/debounce/sym_defer_pk.c \
  30. $(QUANTUM_PATH)/debounce/tests/sym_defer_pk_tests.cpp
  31. debounce_sym_defer_pr_DEFS := $(DEBOUNCE_COMMON_DEFS)
  32. debounce_sym_defer_pr_SRC := $(DEBOUNCE_COMMON_SRC) \
  33. $(QUANTUM_PATH)/debounce/sym_defer_pr.c \
  34. $(QUANTUM_PATH)/debounce/tests/sym_defer_pr_tests.cpp
  35. debounce_sym_eager_pk_DEFS := $(DEBOUNCE_COMMON_DEFS)
  36. debounce_sym_eager_pk_SRC := $(DEBOUNCE_COMMON_SRC) \
  37. $(QUANTUM_PATH)/debounce/sym_eager_pk.c \
  38. $(QUANTUM_PATH)/debounce/tests/sym_eager_pk_tests.cpp
  39. debounce_sym_eager_pr_DEFS := $(DEBOUNCE_COMMON_DEFS)
  40. debounce_sym_eager_pr_SRC := $(DEBOUNCE_COMMON_SRC) \
  41. $(QUANTUM_PATH)/debounce/sym_eager_pr.c \
  42. $(QUANTUM_PATH)/debounce/tests/sym_eager_pr_tests.cpp
  43. debounce_asym_eager_defer_pk_DEFS := $(DEBOUNCE_COMMON_DEFS)
  44. debounce_asym_eager_defer_pk_SRC := $(DEBOUNCE_COMMON_SRC) \
  45. $(QUANTUM_PATH)/debounce/asym_eager_defer_pk.c \
  46. $(QUANTUM_PATH)/debounce/tests/asym_eager_defer_pk_tests.cpp