I read this: pp only to create executable when source has changed
Update: Perhaps this helps:
Makefile
hello: hello.pl Foo.pm
pp hello.pl -o hello.exe
Foo.pm
package Foo;
# test1
1;
hello.pl
#!/c:/perl/bin/perl
use lib q(.);
use Foo;
print "Hello!\n";
First call of dmake builds hello.exe. Next call shows `hello' is up to date. Change Foo.pm and run dmake.
Search
Update: Another weird use of make ;-) 28.13 make Isn't Just for Programmers! in "Unix Power Tools"
OK, i've bought the book and i hope Tim doesn't blame...
manual: ch01.fmt ch02.fmt ch03.fmt
lp ch0[1-3].fmt
ch01.fmt: ch01
nroff -mm ch01 > ch01.fmt
ch02.fmt: ch02
tbl ch02 | nroff -mm > ch02.fmt
ch03.fmt: ch03a ch03b ch03c
nroff -mm ch03[abc] > ch03.fmt
Best Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
-
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.
|