Skip to content

Commit

Permalink
Fix debugged and traced Makefile targets
Browse files Browse the repository at this point in the history
#185 replaced the `-drop-pass <re>` compile-time option
with `-disable-pass <re>`, but these Makefile targets were not
updated.
  • Loading branch information
MatthewFluet committed Oct 27, 2017
1 parent 49b1225 commit 2e745f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.in
Expand Up @@ -125,7 +125,7 @@ constants:

.PHONY: debugged
debugged:
$(MAKE) -C "$(COMP)" "AOUT=$(AOUT).debug" COMPILE_ARGS="-debug true -const 'Exn.keepHistory true' -profile-val true -const 'MLton.debug true' -drop-pass 'deepFlatten'"
$(MAKE) -C "$(COMP)" "AOUT=$(AOUT).debug" COMPILE_ARGS="-debug true -const 'Exn.keepHistory true' -profile-val true -const 'MLton.debug true' -disable-pass 'deepFlatten'"
$(CP) "$(COMP)/$(AOUT).debug" "$(LIB)/"
$(SED) 's/mlton-compile/mlton-compile.debug/' < "$(MLTON)" > "$(MLTON).debug"
chmod a+x "$(MLTON).debug"
Expand Down Expand Up @@ -269,7 +269,7 @@ smlnj-mlton-x16:

.PHONY: traced
traced:
$(MAKE) -C "$(COMP)" "AOUT=$(AOUT).trace" COMPILE_ARGS="-const 'Exn.keepHistory true' -profile-val true -const 'MLton.debug true' -drop-pass 'deepFlatten'"
$(MAKE) -C "$(COMP)" "AOUT=$(AOUT).trace" COMPILE_ARGS="-const 'Exn.keepHistory true' -profile-val true -const 'MLton.debug true' -disable-pass 'deepFlatten'"
$(CP) "$(COMP)/$(AOUT).trace" "$(LIB)/"
sed 's/mlton-compile/mlton-compile.trace/' < "$(MLTON)" > "$(MLTON).trace"
chmod a+x "$(MLTON).trace"
Expand Down

0 comments on commit 2e745f4

Please sign in to comment.