Recently Written · git

sacc

Mirror of git://bitreich.org/sacc, the sacc gopher client from bitreich.org.

git clone https://github.com/equwal/sacc

Log | Files | Refs


commit 572915c3d29428773577739e54647c4dfd0daa5d
Quentin Rameau <quinq@fifth.space>
2022-07-20 20:25:37 +0200

Makefile: Refine header build dependencies

 Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 6c08f9e..3440811 100644
--- 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)