failure
Matthew Fluet
fluet@CS.Cornell.EDU
Wed, 3 Oct 2001 16:53:39 -0400 (EDT)
> So your suggested change is that yacc.lex.sml and friends are now going to
> be shipped with the source. That would make some sense to me since it
> means you need less set-up to get started. The circularities are definitely
> ugly.
No, those derived files will still be generated at make time. Because we
have the rule:
$(NAME): $(NAME).cm $(shell $(MLTON) -stop f $(NAME).cm)
and src/yacc.lex.sml will be a file listed in mlyacc.cm, then those
derived files will be generated.
My suggested change was simply for the sake of simplicity. When I make a
change that I know requires generating a new mlton.cm, I want to just type
make mlton.cm without needing to ensure that I've got the front-end files
built. Since I'm using the cluster for most builds, I can pretty much get
by with pristine sources on my local machine, in which case, I generally
don't have the front-end files built. So, I just want make mlton.cm to
work without any additional fuss.