From f5a6db59df4d296c4436c450c66a6edcf331d169 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 1 Feb 2017 16:40:28 +0100 Subject: Don't include config.h It's not used and don't have to be generated --- Makefile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 821195b..4b2e274 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ ifeq ($(DEBUG),yes) CFLAGS += -ggdb -DDEBUG endif CFLAGS += -Wall -CFLAGS += -Iliblcd -include $(O)/build/config.h +CFLAGS += -Iliblcd # Apply CPREFIX CXX:=$(CPREFIX)$(CXX) @@ -76,16 +76,11 @@ $(O)/turris-lcd: $(OBJ) liblcd/libliquidcrystali2c.a @echo " LD $@" $(Q)$(CXX) $(LDFLAGS) $^ -o $@ -$(OBJ): $(O)/build/%.o: src/%.cpp $(O)/build/config.h +$(OBJ): $(O)/build/%.o: src/%.cpp @mkdir -p "$(@D)" @echo " CXX $@" $(Q)$(CXX) -c $(CFLAGS) $< -o $@ -$(O)/build/config.h: $(O)/.config - @mkdir -p "$(@D)" - @echo " CONF $@" - $(Q)$(O)/configure --op-h > $@ - liblcd/libliquidcrystali2c.a: $(Q)$(MAKE) -C liblcd static endif -- cgit v1.2.3