| Date: Mon, 14 Sep 2020 19:50:11 +0200
Add config.h dependency to quark-rule
Due to the refactoring of the header-dependencies it would happen that
a compilation unit would pull in config.h before it was created, in case
it didn't exist already.
Signed-off-by: Laslo Hunhold
Diffstat:
M Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- |
| @@ -14,7 +14,7 @@ main.o: main.c arg.h data.h http.h sock.h util.h config.mk
sock.o: sock.c sock.h util.h config.mk
util.o: util.c util.h config.mk
-quark: $(COMPONENTS:=.o) $(COMPONENTS:=.h) main.o config.mk
+quark: config.h $(COMPONENTS:=.o) $(COMPONENTS:=.h) main.o config.mk
$(CC) -o $@ $(CPPFLAGS) $(CFLAGS) $(COMPONENTS:=.o) main.o $(LDFLAGS)
config.h: |