summaryrefslogtreecommitdiff
path: root/commandline/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-01-02 00:07:14 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-01-02 00:07:14 +0100
commit255e3d2dddd5d41e37d061f93f0739990753e541 (patch)
treefcb665cd3167236a3d17b6966ba9280995baee18 /commandline/Makefile
parentb1bd27388c8e09d5dba666377e01fbc5070be754 (diff)
commandline: remove legacy 'vusb-i2c' program
Diffstat (limited to 'commandline/Makefile')
-rw-r--r--commandline/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/commandline/Makefile b/commandline/Makefile
index 2e2ea32..ae465ff 100644
--- a/commandline/Makefile
+++ b/commandline/Makefile
@@ -10,22 +10,18 @@ PREFIX ?= /usr/local
bin_dir = ${DESTDIR}${PREFIX}/bin
man_dir = ${DESTDIR}${PREFIX}/man/man1
-PROGRAMS = vusb-i2c vusb-i2cdetect vusb-i2cset vusb-i2cget
+PROGRAMS = vusb-i2cdetect vusb-i2cset vusb-i2cget
all: $(PROGRAMS)
.c.o:
$(CC) $(CFLAGS) -c $<
-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
i2cset.o: i2cset.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)
-
vusb-i2cdetect: i2cdetect.o i2c-util.o
$(CC) -o $@ $^ $(LIBS)
@@ -44,7 +40,7 @@ install:
$(man_dir)
uninstall:
- rm -f $(bin_dir)/vusb-i2c $(bin_dir)/vusb-i2cdetect
+ rm -f $(bin_dir)/vusb-i2cdetect
rm -f $(bin_dir)/vusb-i2cget $(bin_dir)/vusb-i2cset
rm -f $(man_dir)/vusb-i2cdetect.1 $(man_dir)/vusb-i2cget.1 $(man_dir)vusb-i2cset.1