Skip to content

litaocheng/mmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

#usage this file based on otp_src/lib/tools/src/make.erl, support the multiple processes compile.

the exported functions are like make.erl, except for add the Worker Number as the first argument for every functions.

e.g. mmake:all(5), means you compile the codes defined in Emakefile by 5 workers.

in your Makefile or script :

erl -eval "case make:files([\"mmake.erl\"], [{outdir, \"ebin\"}]) of error -> halt(1); _ -> ok end" -eval "case mmake:all(8,[$(MAKE_OPTS)]) of up_to_date -> halt(0); error -> halt(1) end."

About

like otp make.erl and support multiple processes compile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages