summaryrefslogtreecommitdiff
path: root/commandline/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'commandline/Makefile')
-rw-r--r--commandline/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/commandline/Makefile b/commandline/Makefile
index 64b27c5..1f33ff0 100644
--- a/commandline/Makefile
+++ b/commandline/Makefile
@@ -33,7 +33,7 @@ bin_dir = ${DESTDIR}${PREFIX}/bin
PROGRAM = vusb-i2c$(EXE_SUFFIX)
-all: $(PROGRAM)
+all: $(PROGRAM) vusb-i2cdetect
.c.o:
$(CC) $(CFLAGS) -c $<
@@ -41,6 +41,9 @@ all: $(PROGRAM)
$(PROGRAM): i2c.o
$(CC) -o $(PROGRAM) i2c.o $(LIBS)
+vusb-i2cdetect: i2cdetect.o
+ $(CC) -o vusb-i2cdetect i2cdetect.o $(LIBS)
+
strip: $(PROGRAM)
strip $(PROGRAM)