aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2009-12-09 19:17:04 +0100
committerBjörn Gustavsson <[email protected]>2010-01-12 08:35:29 +0100
commit78fbf079c258f4ae55ec8f18f621c25ec4dd63c8 (patch)
tree73b0528c7dfb3f1351c45487a44270e9edb2b075 /lib/stdlib/src
parente447b437a74b1ba58567026923104b6b2922dafc (diff)
downloadotp-78fbf079c258f4ae55ec8f18f621c25ec4dd63c8.tar.gz
otp-78fbf079c258f4ae55ec8f18f621c25ec4dd63c8.tar.bz2
otp-78fbf079c258f4ae55ec8f18f621c25ec4dd63c8.zip
stdlib makefile: Add explicit rule
When building a primary bootstrap in a git repository, the file bootstrap/lib/stdlib/egen/erl_parse.erl would not get updated. With clearmake, this file is updated. Adding an explicit rule for the file make it it work with GNU Make. While at it, remove an out-commented rule.
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/Makefile b/lib/stdlib/src/Makefile
index 68708d6b02..9c4110231e 100644
--- a/lib/stdlib/src/Makefile
+++ b/lib/stdlib/src/Makefile
@@ -173,8 +173,8 @@ $(BOOTSTRAP_COMPILER)/ebin/erl_parse.beam: erl_parse.yrl
$(ERLC) -o $(BOOTSTRAP_COMPILER)/egen erl_parse.yrl
$(ERLC) -o $(BOOTSTRAP_COMPILER)/ebin $(BOOTSTRAP_COMPILER)/egen/erl_parse.erl
-#$(BOOTSTRAP_COMPILER)/ebin/erl_lint.beam: erl_lint.erl
-# $(ERLC) -o $(BOOTSTRAP_COMPILER)/ebin erl_lint.erl
+$(BOOTSTRAP_TOP)/lib/stdlib/egen/erl_parse.erl: erl_parse.yrl
+ $(ERLC) $(YRL_FLAGS) -o$(BOOTSTRAP_TOP)/lib/stdlib/egen erl_parse.yrl
$(BOOTSTRAP_COMPILER)/ebin/%.beam: %.erl
$(ERLC) -o $(BOOTSTRAP_COMPILER)/ebin $<