From 681e2e2674cf6c0639a403286241bdbd00e24236 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 28 Jul 2013 23:25:47 +0200 Subject: add vusb-i2cget --- commandline/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'commandline/Makefile') diff --git a/commandline/Makefile b/commandline/Makefile index a4d0792..587f86c 100644 --- a/commandline/Makefile +++ b/commandline/Makefile @@ -9,7 +9,7 @@ LIBS = $(USBLIBS) PREFIX ?= /usr/local bin_dir = ${DESTDIR}${PREFIX}/bin -PROGRAMS = vusb-i2c vusb-i2cdetect vusb-i2cwrite +PROGRAMS = vusb-i2c vusb-i2cdetect vusb-i2cwrite vusb-i2cget all: $(PROGRAMS) @@ -20,6 +20,7 @@ i2c.o: i2c.c i2c-util.c i2c-util.h i2c-util.o: i2c-util.c i2cdetect.o: i2cdetect.c i2c-util.c i2c-util.h i2cwrite.o: i2cwrite.c i2c-util.c i2c-util.h +i2cget.o: i2cget.c i2c-util.c i2c-util.h vusb-i2c: i2c.o i2c-util.o $(CC) -o $@ $^ $(LIBS) @@ -30,6 +31,9 @@ vusb-i2cdetect: i2cdetect.o i2c-util.o vusb-i2cwrite: i2cwrite.o i2c-util.o $(CC) -o $@ $^ $(LIBS) +vusb-i2cget: i2cget.o i2c-util.o + $(CC) -o $@ $^ $(LIBS) + clean: rm -f *.o $(PROGRAMS) -- cgit v1.2.3