Makefile: Refine header build dependencies - sacc - sacc(omys), simple console gopher client
(HTM) git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Tags
(DIR) LICENSE
---
(DIR) commit 572915c3d29428773577739e54647c4dfd0daa5d
(DIR) parent 239ecedf18b5fdb0650a1b5468d2b75de2a38731
(HTM) Author: Quentin Rameau <quinq@fifth.space>
Date: Wed, 20 Jul 2022 20:25:37 +0200
Makefile: Refine header build dependencies
Diffstat:
M Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/Makefile b/Makefile
@@ -16,7 +16,10 @@ config.h:
$(BIN): $(OBJ)
$(CC) $(SACCLDFLAGS) -o $@ $(OBJ) $(IOLIBS) $(LIBS)
-$(OBJ): config.h config.mk common.h io.h
+$(OBJ): config.mk common.h
+sacc.o: config.h
+ui_ti.o: config.h
+io_$(IO).o: io.h
clean:
rm -f $(BIN) $(OBJ)