coreboot-kgpe-d16/util/kbc1126/Makefile

13 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