aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-10-14 17:41:28 +0200
committerAnders Svensson <[email protected]>2011-10-17 12:30:57 +0200
commitf4c38ecd803451280d0021bcfa7f2ad25b96cbcd (patch)
tree9600faaced228f98756848f7a5e243402b81fd9c /lib
parent270dd088e9e29ca8880ae7f0fd02bfe2b7a27d92 (diff)
downloadotp-f4c38ecd803451280d0021bcfa7f2ad25b96cbcd.tar.gz
otp-f4c38ecd803451280d0021bcfa7f2ad25b96cbcd.tar.bz2
otp-f4c38ecd803451280d0021bcfa7f2ad25b96cbcd.zip
Remove app dependency on compiler to avoid forced recompilation
Diffstat (limited to 'lib')
-rw-r--r--lib/diameter/src/app/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/diameter/src/app/Makefile b/lib/diameter/src/app/Makefile
index 38af3cbe37..7752bb1798 100644
--- a/lib/diameter/src/app/Makefile
+++ b/lib/diameter/src/app/Makefile
@@ -148,6 +148,10 @@ $(APP_TARGET): $(APP_SRC) \
$(APPUP_TARGET): $(APPUP_SRC) ../../vsn.mk
sed -e 's;%VSN%;$(VSN);' $< > $@
+# This isn't a dependency for $(DICT_ERL_FILES) $(DICT_HRL_FILES)
+# since it would force recompilation: compiler must explicity be made
+# first, which ../Makefile does. Should share a makefile for proper
+# dependencies. (Aka, recursive make considered harmful.)
compiler:
$(MAKE) -C ../$@
@@ -188,8 +192,6 @@ release_docs_spec:
diameter_gen_base_accounting.erl diameter_gen_relay.erl: \
$(EBIN)/diameter_gen_base_rfc3588.beam
-$(DICT_ERL_FILES) $(DICT_HRL_FILES): compiler
-
$(DICT_ERL_FILES:%.erl=$(EBIN)/%.$(EMULATOR)): \
$(DIAMETER_TOP)/include/diameter.hrl \
$(DIAMETER_TOP)/include/diameter_gen.hrl