Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: pp only to create executable when source has changed

by gepebril69 (Scribe)
on Dec 04, 2012 at 00:28 UTC ( #1006969=note: print w/ replies, xml ) Need Help??


in reply to Re: pp only to create executable when source has changed
in thread pp only to create executable when source has changed

Aha, I get it, you make a script that checks the date of modification of a file. If the modification time of the .pl (perl script) is greater than the corresponding .exe (executable file), you generate a new executable.

Never looked at the problem from this angle. But this wont help you 100% on the dependencies, like when I require a .pl, which store the genetal subroutines. So now I get the use and power of a make file

So final stage is finding a good example of a makefile using PAR:Packer, so pp instead of cc so I can parse my code into)

  • Comment on Re^2: pp only to create executable when source has changed

Replies are listed 'Best First'.
Re^3: pp only to create executable when source has changed
by gepebril69 (Scribe) on Dec 04, 2012 at 12:52 UTC

    Has anyone an idea of how to do this as GNU make seems to be quite complex for a newbie like me and all examples are in C.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006969]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2016-08-26 12:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (370 votes). Check out past polls.