summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-08-07 10:19:09 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-08-07 10:19:09 +0200
commit444e03292cf59f8d91e73084f1ed648e02662e58 (patch)
tree9caed4d64d98d5820cdbade7c2b434d8b793539b /Makefile
parentf6a842b1b064c83d42dfd626e888f79e4c1633e8 (diff)
i2cdetect: Adjust behaviour to available drivers
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
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