help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

substitution with make


From: Sascha
Subject: substitution with make
Date: Wed, 16 Aug 2006 21:36:52 +0200
User-agent: Opera Mail/9.01 (Win32)

Hi all


I have a problem with makefiles.

We have about 100 makefiles in our project.

There is following global rule :

DO:= DOSTH.exe


They all make use of following syntax

        $(DO) file1.txt file2.txt

This is a easy substitution,

D"OSTH.exe file1.txt file2.txt" is executed

Now i would love to change to global rule :

that in the end following is executed :

 DOSTHNEW.exe filelist -Parameter1 -Parameter2

Can i achive this without touching the makefiles ?
Is there a any / a clever way with the power of make only ?
I want to insert the files not at the end but in the middle ?

Or do I have to use SH Scripting.

Thanks , Sascha





--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]