diff options
author | Idwer Vollering <vidwer@gmail.com> | 2017-08-16 17:53:40 +0200 |
---|---|---|
committer | Idwer Vollering <vidwer@gmail.com> | 2017-08-16 18:23:09 +0000 |
commit | b2b1d668269c8af2551df0dbb26a350f92a6795a (patch) | |
tree | 68692fb55fd6f2b2c94c15201dc91a104c09da21 /util/kbc1126/Makefile | |
parent | 588c2c42c3609785e3856f76bab884ff563b40ca (diff) |
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>
Diffstat (limited to 'util/kbc1126/Makefile')
-rw-r--r-- | util/kbc1126/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/util/kbc1126/Makefile b/util/kbc1126/Makefile new file mode 100644 index 0000000000..48268747d6 --- /dev/null +++ b/util/kbc1126/Makefile @@ -0,0 +1,12 @@ +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 |