Martin Roth | adaab4a | 2022-10-28 22:38:44 -0600 | [diff] [blame^] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Iru Cai | 5fd00ce | 2017-03-26 12:05:32 +0800 | [diff] [blame] | 2 | obj = kbc1126_ec_dump kbc1126_ec_insert |
3 | HOSTCC := $(if $(shell type gcc 2>/dev/null),gcc,cc) | ||||
4 | |||||
5 | all: $(obj) | ||||
6 | |||||
7 | %: %.c | ||||
8 | $(HOSTCC) -Wall -o $@ $< | ||||
9 | |||||
10 | clean: | ||||
11 | rm -f kbc1126_ec_dump kbc1126_ec_insert | ||||
12 | |||||
13 | .PHONY: all clean |