tSeparate config .h files in Makefile to avoid unnecessary recompilation - ledit - Text editor (WIP)
HTML git clone git://lumidify.org/ledit.git (fast, but not encrypted)
HTML git clone https://lumidify.org/git/ledit.git (encrypted, but very slow)
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 7d04a4c57facdf6080ce5492979b2652cd675a25
DIR parent e547d65f89c0b88a0b6cad0e22c3c992dac83ba9
HTML Author: lumidify <nobody@lumidify.org>
Date: Mon, 1 Nov 2021 09:45:28 +0100
Separate config .h files in Makefile to avoid unnecessary recompilation
Diffstat:
M Makefile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
DIR diff --git a/Makefile b/Makefile
t@@ -31,13 +31,10 @@ HDR = \
common.h \
keys.h \
keys_basic.h \
- keys_basic_config.h \
keys_command.h \
- keys_command_config.h \
memory.h \
search.h \
theme.h \
- theme_config.h \
txtbuf.h \
undo.h \
util.h \
t@@ -48,7 +45,9 @@ LDFLAGS_LEDIT = ${LDFLAGS} `pkg-config --libs x11 xkbfile pangoxft xext` -lm
all: ${BIN}
-# FIXME: separate *_config.h so they don't make everything recompile
+theme.o : theme_config.h
+keys_basic.o : keys_basic_config.h
+keys_command.o : keys_command_config.h
${OBJ} : ${HDR}