summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2e42e6e..15e83c6 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,11 @@ ifneq ($(findstring am2320,${drivers}), )
COMMON_FLAGS += -DDRIVER_AM2320
endif
+ifneq ($(findstring bme280,${drivers}), )
+ CXX_TARGETS += src/driver/bme280.cc src/driver/bme680_util.cc
+ COMMON_FLAGS += -DDRIVER_BME280
+endif
+
ifneq ($(findstring bme680,${drivers}), )
CXX_TARGETS += src/driver/bme680.cc src/driver/bme680_util.cc
COMMON_FLAGS += -DDRIVER_BME680