mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-08 20:12:01 +03:00
Ensure the dependency files are rebuilt if Makefile.config changes
svn path=/trunk/netsurf/; revision=4755
This commit is contained in:
parent
08259a4e4e
commit
9ba20a6eec
4
Makefile
4
Makefile
@ -388,7 +388,7 @@ ifeq ($(GCCVER),2)
|
||||
# simpler deps tracking for gcc2...
|
||||
define dependency_generate_c
|
||||
DEPFILES += $(2)
|
||||
$$(DEPROOT)/$(2): $$(DEPROOT)/created $(1) css/css_enum.h css/parser.h
|
||||
$$(DEPROOT)/$(2): $$(DEPROOT)/created $(1) css/css_enum.h css/parser.h Makefile.config
|
||||
$$(VQ)echo " DEP: $(1)"
|
||||
$$(Q)$$(RM) $$(DEPROOT)/$(2)
|
||||
$$(Q)$$(CC) $$(CFLAGS) -MM \
|
||||
@ -399,7 +399,7 @@ endef
|
||||
else
|
||||
define dependency_generate_c
|
||||
DEPFILES += $(2)
|
||||
$$(DEPROOT)/$(2): $$(DEPROOT)/created $(1) css/css_enum.h css/parser.h
|
||||
$$(DEPROOT)/$(2): $$(DEPROOT)/created $(1) css/css_enum.h css/parser.h Makefile.config
|
||||
$$(VQ)echo " DEP: $(1)"
|
||||
$$(Q)$$(RM) $$(DEPROOT)/$(2)
|
||||
$$(Q)$$(CC) $$(CFLAGS) -MM -MT '$$(DEPROOT)/$2 $$(OBJROOT)/$(3)' \
|
||||
|
Loading…
Reference in New Issue
Block a user