1ec_access: ec_access.o
2	$(ECHO) "  LD      " $@
3	$(QUIET) $(LD) $(CFLAGS) $(LDFLAGS) $< -o $@
4	$(QUIET) $(STRIPCMD) $@
5
6%.o: %.c
7	$(ECHO) "  CC      " $@
8	$(QUIET) $(CC) -c $(CFLAGS) -o $@ $<
9
10all: ec_access
11
12install:
13	$(INSTALL) -d $(DESTDIR)${sbindir}
14	$(INSTALL_PROGRAM) ec_access $(DESTDIR)${sbindir}
15
16uninstall:
17	- rm -f $(DESTDIR)${sbindir}/ec_access
18
19clean:
20	-rm -f $(OUTPUT)ec_access
21
22.PHONY: all install uninstall
23