commit 572915c3d29428773577739e54647c4dfd0daa5d
parent 239ecedf18b5fdb0650a1b5468d2b75de2a38731
Author: Quentin Rameau <quinq@fifth.space>
Date: Wed, 20 Jul 2022 20:25:37 +0200
Makefile: Refine header build dependencies
Diffstat:
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)