summaryrefslogtreecommitdiff
path: root/commandline/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-07-28 23:25:47 +0200
committerDaniel Friesel <derf@finalrewind.org>2013-07-28 23:25:47 +0200
commit681e2e2674cf6c0639a403286241bdbd00e24236 (patch)
treea87f978f126582934c6c801c1f975244acf12cc7 /commandline/Makefile
parentd7b52ba112b3bc5293e3e6c361e8d0cd64fc75bf (diff)
add vusb-i2cget
Diffstat (limited to 'commandline/Makefile')
-rw-r--r--commandline/Makefile6
1 files changed, 5 insertions, 1 deletions
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)