make(3erl)


NAME

   make - A Make Utility for Erlang

DESCRIPTION

   The  module  make  provides a set of functions similar to the UNIX type
   Make functions.

EXPORTS

   all() -> up_to_date | error
   all(Options) -> up_to_date | error

          Types:

             Options = [Option]
              Option = noexec | load | netload | <compiler option>

          This function first looks in the current working directory for a
          file  named  Emakefile (see below) specifying the set of modules
          to compile and the compile options to use. If no  such  file  is
          found,  the set of modules to compile defaults to all modules in
          the current working directory.

          Traversing the set of modules, it then recompiles  every  module
          for which at least one of the following conditions apply:

            * there is no object file, or

            * the  source  file  has  been  modified  since  it  was  last
              compiled, or,

            * an include file has been modified since the source file  was
              last compiled.

          As a side effect, the function prints the name of each module it
          tries to compile. If compilation fails for a  module,  the  make
          procedure stops and error is returned.

          Options  is  a list of make- and compiler options. The following
          make options exist:

            * noexec
               No execution mode. Just prints the name of each module that
              needs to be compiled.

            * load
               Load mode. Loads all recompiled modules.

            * netload
               Net  load  mode.  Loads all recompiled modules on all known
              nodes.

          All items in Options that are not make options are assumed to be
          compiler options and are passed as-is to compile:file/2. Options
          defaults to [].

   files(ModFiles) -> up_to_date | error
   files(ModFiles, Options) -> up_to_date | error

          Types:

             ModFiles = [Module | File]
              Module = atom()
              File = string()
             Options = [Option]
              Option = noexec | load | netload | <compiler option>

          files/1,2 does exactly the same thing as  all/0,1  but  for  the
          specified ModFiles, which is a list of module or file names. The
          file extension .erl may be omitted.

          The Emakefile  (if  it  exists)  in  the  current  directory  is
          searched for compiler options for each module. If a given module
          does not exist in Emakefile or if Emakefile does not exist,  the
          module is still compiled.

EMAKEFILE

   make:all/0,1  and make:files/1,2 looks in the current working directory
   for a file named Emakefile. If  it  exists,  Emakefile  should  contain
   elements like this:

   Modules.
   {Modules,Options}.

   Modules is an atom or a list of atoms. It can be

     * a module name, e.g. file1

     * a module name in another directory, e.g. ../foo/file3

     * a set of modules specified with a wildcards, e.g. 'file*'

     * a wildcard indicating all modules in current directory, i.e. '*'

     * a list of any of the above, e.g. ['file*','../foo/file3','File4']

   Options is a list of compiler options.

   Emakefile is read from top to bottom. If a module matches more than one
   entry, the first match is valid. For example, the  following  Emakefile
   means    that    file1    shall    be   compiled   with   the   options
   [debug_info,{i,"../foo"}],  while  all  other  files  in  the   current
   directory shall be compiled with only the debug_info flag.

   {'file1',[debug_info,{i,"../foo"}]}.
   {'*',[debug_info]}.





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.