From bfcfa4cf67bad25ccba5ff735967d4c6abff899c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 15 Dec 2017 09:20:30 +0100 Subject: Add support for ESP8266 secondary LED --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 47454ac..cf5d8b7 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,11 @@ CFLAGS = -std=c99 CXXFLAGS = -std=c++14 TARGETS = src/app/${app}/main.cc src/os/object/cpp_helpers.cc src/os/object/outputstream.cc -TARGETS += src/driver/lm75.cc + +ifneq ($(findstring lm75,${drivers}), ) + TARGETS += src/driver/lm75.cc + COMMON_FLAGS += -DDRIVER_LM75 +endif ifeq (${timer_cycles}, 1) COMMON_FLAGS += -DTIMER_CYCLES -- cgit v1.2.3