Makefile: fix dependencies
authorQuentin Rameau <quinq@fifth.space>
Tue, 9 Oct 2018 10:26:32 +0000 (12:26 +0200)
committerQuentin Rameau <quinq@fifth.space>
Tue, 9 Oct 2018 10:41:00 +0000 (12:41 +0200)
Makefile

index 10505f3..cdbd8ad 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,9 +24,9 @@ options:
 config.h:
        cp config.def.h $@
 
-$(OBJ): config.h config.mk
+$(OBJ): config.h common.h config.mk
 
-$(WEBEXTOBJ): config.h config.mk
+$(WEBEXTOBJ): $(WEBEXTSRC) config.h common.h config.mk
        $(CC) $(WEBEXTCFLAGS) $(CFLAGS) -c $(WEBEXTSRC)
 
 libsurf-webext.so: $(WEBEXTOBJ)