diff --git a/mlton/Makefile b/mlton/Makefile index e7c991768..0c8cdf240 100644 --- a/mlton/Makefile +++ b/mlton/Makefile @@ -109,12 +109,12 @@ front-end/%.lex.sml: front-end/%.lex $(SED) -e 's/in Vector.fromList(List.map g/in Vector.fromList(Pervasive.List.map g/' $<.sml.in > $<.sml $(RM) $<.sml.in $(CP) $<.sml $<.sml.boot - $(CHMOD) -w $<.* + $(CHMOD) a-w $<.* else front-end/%.lex.sml: front-end/%.lex.sml.boot $(RM) $@ $(CP) $< $@ - $(CHMOD) -w $@ + $(CHMOD) a-w $@ endif ifeq (true,$(call HAVE_CMD,$(RUN_MLYACC))) @@ -131,16 +131,16 @@ front-end/%.grm.sig front-end/%.grm.sml: front-end/%.grm $(SED) -e 's/in Array.fromList(List.map actionRowLookUp actionRowNumbers)/in Array.fromList(Pervasive.List.map actionRowLookUp actionRowNumbers)/' $<.sml.in > $<.sml $(RM) $<.sml.in $(CP) $<.sml $<.sml.boot - $(CHMOD) -w $<.* + $(CHMOD) a-w $<.* else front-end/%.grm.sig: front-end/%.grm.sig.boot $(RM) $@ $(CP) $< $@ - $(CHMOD) -w $@ + $(CHMOD) a-w $@ front-end/%.grm.sml: front-end/%.grm.sml.boot $(RM) $@ $(CP) $< $@ - $(CHMOD) -w $@ + $(CHMOD) a-w $@ endif mlton-stubs.mlb: $(shell $(MLBDEPS) ../lib/stubs/mlton-stubs/sources.mlb | $(GREP) 'mlb$$' | $(GREP) -v '$$(SML_LIB)') $(shell $(MLBDEPS) mlton.mlb | $(GREP) 'mlb$$' | $(GREP) -v '$$(SML_LIB)')