commit 1a93e3b22f363a0a8dffcf3c47b8d30ff207401f
Author: Laslo Hunhold <[email protected]>
AuthorDate: Mon Sep 14 19:50:11 2020 +0200
Commit: Laslo Hunhold <[email protected]>
CommitDate: Tue Sep 15 17:46:33 2020 +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 <[email protected]>
diff --git a/Makefile b/Makefile
index f005eaf..548e6aa 100644
--- a/Makefile
+++ b/Makefile
@@ -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: