Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/src/compiler/Makefile
ViewVC logotype

Diff of /sml/trunk/src/compiler/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 163, Thu Oct 29 21:00:27 1998 UTC revision 184, Sun Nov 8 21:18:20 1998 UTC
# Line 8  Line 8 
8  BINDIR=bin.$(BINDIR_SUFFIX)  BINDIR=bin.$(BINDIR_SUFFIX)
9  MLCMD=CMB.make()  MLCMD=CMB.make()
10    
11  default: $(SML)  default: sml
12    sml: $(SML)
13    sml-new: sml-new.$(HEAP_SUFFIX)
14    
15  $(BINDIR).new:  $(BINDIR).new:
16          if [ -d $(BINDIR) ]; then \          if [ -d $(BINDIR) ]; then \
# Line 20  Line 22 
22  $(SML): $(BINDIR)/COMPLIST  $(SML): $(BINDIR)/COMPLIST
23          -rm -f $@          -rm -f $@
24          ./xmakeml          ./xmakeml
25            [ -r $(SML) ]
26    
27  $(BINDIR)/COMPLIST: $(BINDIR).new  $(BINDIR)/COMPLIST: $(BINDIR).new
28    
29  cleannew: $(BINDIR).new  cleannew: $(BINDIR).new
30          -rm $(BINDIR).new/*          -rm -r $(BINDIR).new/*
31    
32  recompile: $(SML)  recompile: $(SML)
33          mv $(BINDIR) $(BINDIR).old && mv $(BINDIR).new $(BINDIR)          mv $(BINDIR) $(BINDIR).old && mv $(BINDIR).new $(BINDIR)
34          -echo '$(MLCMD); Compiler.Stats.summary();' | ./xrun sml          -echo '$(MLCMD); Compiler.Stats.summary();' | ./xrun sml
35            mv $(BINDIR) $(BINDIR).new && mv $(BINDIR).old $(BINDIR)
36    
37    sml-new.$(HEAP_SUFFIX): recompile
38            mv $(BINDIR) $(BINDIR).old && mv $(BINDIR).new $(BINDIR)
39          if [ -f $(BINDIR)/COMPLIST ]; then \          if [ -f $(BINDIR)/COMPLIST ]; then \
40              mv $(SML) sml-old.$(HEAP_SUFFIX) &&\              mv $(SML) sml-old.$(HEAP_SUFFIX) &&\
41              ./xmakeml &&\              ./xmakeml &&\

Legend:
Removed from v.163  
changed lines
  Added in v.184

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0