Makefile: Refine header build dependencies - sacc - sacc(omys), simple console gopher client
git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
Log
Files
Refs
Tags
LICENSE
---
commit 572915c3d29428773577739e54647c4dfd0daa5d
parent 239ecedf18b5fdb0650a1b5468d2b75de2a38731
Author: Quentin Rameau 
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(-)
---
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)