summaryrefslogtreecommitdiff
path: root/commandline/Makefile
diff options
context:
space:
mode:
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