diff options
Diffstat (limited to 'commandline/Makefile')
-rw-r--r-- | commandline/Makefile | 6 |
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) |