coreboot-libre-fam15h-rdimm/util/kbc1126/Makefile

13 lines
208 B
Makefile
Raw Normal View History

2024-03-04 11:14:53 +01:00
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