Skip to content

Commit

Permalink
adding configurable flags to the makefile option, defaulting to -no-c…
Browse files Browse the repository at this point in the history
…heck-mode
  • Loading branch information
blerner committed Jun 28, 2016
1 parent 89ee514 commit 3e6482a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,18 @@ build/show-compilation.jarr: $(PHASEA)/pyret.jarr src/scripts/show-compilation.a
--compiled-dir build/show-comp/compiled/ \
-no-check-mode \
--require-config src/scripts/standalone-configA.json

ifneq ($(EF),)
EXTRA_FLAGS=$(EF)
else
EXTRA_FLAGS = -no-check-mode
endif
%.jarr: $(PHASEA)/pyret.jarr %.arr
$(NODE) $(PHASEA)/pyret.jarr --outfile $*.jarr \
--build-runnable $*.arr \
--builtin-js-dir src/js/trove/ \
--builtin-arr-dir src/arr/trove/ \
--compiled-dir compiled/ \
-no-check-mode \
$(EXTRA_FLAGS) \
--require-config src/scripts/standalone-configA.json

$(PHASEA_ALL_DEPS): | $(PHASEA)
Expand Down

0 comments on commit 3e6482a

Please sign in to comment.