Makefile: fix dependencies on config.h
authorHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 4 Jan 2019 11:33:01 +0000 (12:33 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 4 Jan 2019 11:33:01 +0000 (12:33 +0100)
patch by Younes Khoudli (changed slightly). Thanks

Makefile

index 0b3cecd..470ac86 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ config.h:
        $(CC) $(STCFLAGS) -c $<
 
 st.o: config.h st.h win.h
-x.o: arg.h st.h win.h
+x.o: arg.h config.h st.h win.h
 
 $(OBJ): config.h config.mk