Experimental Physics and
| |||||||||||||||
|
On Thursday, February 28, 2013 10:51:51 Michael Davidsaver wrote: > On 02/28/2013 09:57 AM, Benjamin Franksen wrote: > > On Thursday, February 28, 2013 09:41:14 Michael Davidsaver wrote: > >> Makefiles are so much fun... > >> > >> If you don't like creating marker files (which must be cleaned) you can > >> > >> also do: > >>> one two three: create_some_files.pl > >>> > >>> ./create_some_files.pl > >>> > >>> three: two > >>> two: one > >> > >> This creates a dependency chain forcing sequential execution. > > > > Yes, but... > > > (1) The script can be called more often than necessary: > I don't think this is the case as long as the command > './create_some_files.pl' creates all three files (which I assume it what > you intended). I attached a simple test example that exhibits the above behaviour. Cheers -- Ben Franksen () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments all: one two three one two three: create_some_files.sh ./create_some_files.sh three: two two: one clean: rm -f one two three files_created Attachment:
create_some_files.sh Attachment:
signature.asc
| ||||||||||||||
ANJ, 20 Apr 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |