summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2005-05-20 08:37:56 +0000
committerpaltherr <paltherr@epfl.ch>2005-05-20 08:37:56 +0000
commit5865b399553ecd64a2f1a03414e8f5cb12148861 (patch)
tree0b1a1deb2cdc776c8f4b6aeecbf5de07e9abf6c8 /Makefile
parente34cd16629590a88bcf5a340886a0b287f0f2d86 (diff)
downloadscala-5865b399553ecd64a2f1a03414e8f5cb12148861.tar.gz
scala-5865b399553ecd64a2f1a03414e8f5cb12148861.tar.bz2
scala-5865b399553ecd64a2f1a03414e8f5cb12148861.zip
- Added separate compilation of Predef for nsc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 05aed3db83..adff8e8157 100644
--- a/Makefile
+++ b/Makefile
@@ -436,6 +436,10 @@ $(latest)library-jc : $(LIBRARY_JC_FILES)
$(TOUCH) $@
$(latest)library-sc : $(LIBRARY_SC_FILES)
+ @if [ "$(prefix)" = tnsc ]; then \
+ $(make) sc target=LIBRARY LIBRARY_SC_FLAGS='$$(SC_FLAGS) -nopredefs'\
+ LIBRARY_SC_FILES=$(LIBRARY_ROOT)/Predef.scala; \
+ fi
@$(make) sc target=LIBRARY LIBRARY_SC_FILES='$(subst $$,$$$$,$?)'
$(TOUCH) $@