[erlang-questions] compile debug_info smart_expections via autoconf automake?

Scott Lystig Fritchie <>
Tue Feb 19 01:02:19 CET 2008


db <> wrote:

db> I want to also compile with smart_exceptions, but not sure how to
db> call it from command line or by setting ERLCFLAGS.

Perhaps this is what you're looking for?

ERL_FLAGS += -W +debug_info +'{parse_transform, smart_exceptions}' \
    -pa /path/to/smart_exceptions/ebin

Assuming that your Makefile uses $(ERL_FLAGS) in the right place.  :-)

-Scott



More information about the erlang-questions mailing list