Erlang编译脚本

2020-12-24  本文已影响0人  qujian

erlc -o ebin src/*.erl

I start out by using Erlang make, because it starts the VM once and compiles everything that needs to be recompiled.
Try the following in your source directory, it will compile those .erl files that are missing a corresponding Beam file or those where the .erl file has been modified since the Beam file was compiled:
erl -make
Learn about Emakefile for additional tricks, such as compiling all source files with debug_info and placing the .beam files in ebin:
{'*', [{outdir,"../ebin"}, debug_info]}.

上一篇下一篇

猜你喜欢

热点阅读