diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-12-15 09:20:30 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-12-15 09:20:30 +0100 |
commit | bfcfa4cf67bad25ccba5ff735967d4c6abff899c (patch) | |
tree | ef153eb55f025f31fdb8abddb57d33e3131624d4 /Makefile | |
parent | 62bb7da1740d7d4aaef3cbcc1261fc5ab62960ae (diff) |
Add support for ESP8266 secondary LED
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |