summaryrefslogtreecommitdiffstats
path: root/quantum/debounce/tests/rules.mk
blob: 8318b1c6683d69cdc264a98fcc0e0ce962aa448c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright 2021 Simon Arlott
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

DEBOUNCE_COMMON_DEFS := -DMATRIX_ROWS=4 -DMATRIX_COLS=10 -DDEBOUNCE=5

DEBOUNCE_COMMON_SRC := $(QUANTUM_PATH)/debounce/tests/debounce_test_common.cpp \
	$(PLATFORM_PATH)/$(PLATFORM_KEY)/timer.c

debounce_sym_defer_g_DEFS := $(DEBOUNCE_COMMON_DEFS)
debounce_sym_defer_g_SRC := $(DEBOUNCE_COMMON_SRC) \
	$(QUANTUM_PATH)/debounce/sym_defer_g.c \
	$(QUANTUM_PATH)/debounce/tests/sym_defer_g_tests.cpp

debounce_sym_defer_pk_DEFS := $(DEBOUNCE_COMMON_DEFS)
debounce_sym_defer_pk_SRC := $(DEBOUNCE_COMMON_SRC) \
	$(QUANTUM_PATH)/debounce/sym_defer_pk.c \
	$(QUANTUM_PATH)/debounce/tests/sym_defer_pk_tests.cpp

debounce_sym_defer_pr_DEFS := $(DEBOUNCE_COMMON_DEFS)
debounce_sym_defer_pr_SRC := $(DEBOUNCE_COMMON_SRC) \
	$(QUANTUM_PATH)/debounce/sym_defer_pr.c \
	$(QUANTUM_PATH)/debounce/tests/sym_defer_pr_tests.cpp

debounce_sym_eager_pk_DEFS := $(DEBOUNCE_COMMON_DEFS)
debounce_sym_eager_pk_SRC := $(DEBOUNCE_COMMON_SRC) \
	$(QUANTUM_PATH)/debounce/sym_eager_pk.c \
	$(QUANTUM_PATH)/debounce/tests/sym_eager_pk_tests.cpp

debounce_sym_eager_pr_DEFS := $(DEBOUNCE_COMMON_DEFS)
debounce_sym_eager_pr_SRC := $(DEBOUNCE_COMMON_SRC) \
	$(QUANTUM_PATH)/debounce/sym_eager_pr.c \
	$(QUANTUM_PATH)/debounce/tests/sym_eager_pr_tests.cpp

debounce_asym_eager_defer_pk_DEFS := $(DEBOUNCE_COMMON_DEFS)
debounce_asym_eager_defer_pk_SRC := $(DEBOUNCE_COMMON_SRC) \
	$(QUANTUM_PATH)/debounce/asym_eager_defer_pk.c \
	$(QUANTUM_PATH)/debounce/tests/asym_eager_defer_pk_tests.cpp