coreboot-kgpe-d16/util/kbc1126/Makefile
Idwer Vollering b2b1d66826 util/kbc1126: [cosmetic] change Makefile casing
Change-Id: Iac616fdb3de79f4f58c30a2eb674ed5152b6a6e4
Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Reviewed-on: https://review.coreboot.org/21050
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2017-08-16 18:23:09 +00:00

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