diff options
author | Karel Kočí <karel.koci@nic.cz> | 2017-02-01 16:40:28 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2017-02-01 16:40:28 +0100 |
commit | f5a6db59df4d296c4436c450c66a6edcf331d169 (patch) | |
tree | 408b73ce465eab091bde7aa66cc7f0966c3b02a8 | |
parent | ca9fbd420e3249ba865563f799a3af8be2eb48cf (diff) | |
download | turris-lcd-example-f5a6db59df4d296c4436c450c66a6edcf331d169.tar.gz turris-lcd-example-f5a6db59df4d296c4436c450c66a6edcf331d169.tar.bz2 turris-lcd-example-f5a6db59df4d296c4436c450c66a6edcf331d169.zip |
Don't include config.h
It's not used and don't have to be generated
-rw-r--r-- | Makefile | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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 |