summaryrefslogtreecommitdiff
path: root/util/kbc1126/makefile
blob: 48268747d657e870b709861ea71d7f309e565580 (plain)
1
2
3
4
5
6
7
8
9
10
11
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