adaab4a97e
Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I7cf35132df0bc23f7b6f78014ddd72d58ea2ab8a Reviewed-on: https://review.coreboot.org/c/coreboot/+/68983 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
13 lines
249 B
Makefile
13 lines
249 B
Makefile
## SPDX-License-Identifier: GPL-2.0-only
|
|
obj = kbc1126_ec_dump kbc1126_ec_insert
|
|
HOSTCC := $(if $(shell type gcc 2>/dev/null),gcc,cc)
|
|
|
|
all: $(obj)
|
|
|
|
%: %.c
|
|
$(HOSTCC) -Wall -o $@ $<
|
|
|
|
clean:
|
|
rm -f kbc1126_ec_dump kbc1126_ec_insert
|
|
|
|
.PHONY: all clean
|