Commit a857ba1d authored by Niels Möller's avatar Niels Möller
Browse files

* Makefile.am.in (depend): Disabled the rule to explicitly build

dependency files.

Rev: src/Makefile.am.in:1.22
parent bfdac003
...@@ -100,9 +100,19 @@ depend: ...@@ -100,9 +100,19 @@ depend:
rm -f $(DEP_FILES) rm -f $(DEP_FILES)
make $(DEP_FILES) make $(DEP_FILES)
# This rule requires GNU-make # There are three problems with this rule:
.deps/%.P : %.c %.c.x
$(CC) $(CPPFLAGS) $(DEFS) -M -MG $< > $@ # 1. It causes the dependency files to be created twice. It would be
# better to add .deps/%.P as an extra target to compileation rule.
# I.e, %.o .deps/%.P : %.c
# 2. It should not depend on the .c.x file.
# 3. It requires GNU-make. We'll have to figure out how to include
# some rules only in developer mode.
# .deps/%.P : %.c %.c.x
# $(CC) $(CPPFLAGS) $(DEFS) -M -MG $< > $@
MAINTAINERCLEANFILES += $(DEP_FILES) MAINTAINERCLEANFILES += $(DEP_FILES)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment