Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

comment on

( [id://3333] : superdoc . print w/replies, xml ) Need Help??

Just to add to everyone else's comments: You probably have "make" and "compile" joined in your mind, and that's not unreasonable given make's history.

But if you look at make's documentation, you'll find that it can run virtually any command that you can on the command line, which makes it extremely useful when, for example, you want to create a package to load up to CPAN. You could use it to do something as trivial as display the current time, or you could use it to create graphics packages. The commands in the makefile are up to you.

By the way, having said that, check out Module::Build, which makes some of the Makefile configuring much easier.

Edit: Added missing "have" to the text. Sorry about that.


In reply to Re: What Makefiles do by jgamble
in thread What Makefiles do by throop

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.