5fd00ce71a
Change-Id: Ic521b177b9602ff042312cccaaa89371db7c5855 Signed-off-by: Iru Cai <mytbk920423@gmail.com> Reviewed-on: https://review.coreboot.org/19071 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
12 lines
208 B
Makefile
12 lines
208 B
Makefile
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
|