From 444e03292cf59f8d91e73084f1ed648e02662e58 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 7 Aug 2018 10:19:09 +0200 Subject: i2cdetect: Adjust behaviour to available drivers --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f6b1f0e..466cebc 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,16 @@ ifneq ($(findstring lm75,${drivers}), ) COMMON_FLAGS += -DDRIVER_LM75 endif +ifneq ($(findstring max44006,${drivers}), ) + TARGETS += src/driver/max44006.cc + COMMON_FLAGS += -DDRIVER_MAX44006 +endif + +ifneq ($(findstring max44009,${drivers}), ) + TARGETS += src/driver/max44009.cc + COMMON_FLAGS += -DDRIVER_MAX44009 +endif + ifneq ($(findstring mmsimple,${drivers}), ) TARGETS += src/driver/mmsimple.cc COMMON_FLAGS += -DDRIVER_MMSIMPLE -- cgit v1.2.3