help-make
[Top][All Lists]
Advanced

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

multiple commands in eval?


From: Erik Rull
Subject: multiple commands in eval?
Date: Wed, 01 Sep 2010 18:44:28 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 Lightning/1.0b1 SeaMonkey/2.0.6

Hi all,

I want to create a list of targets using eval and add more than one command line after the dependecies. Newline is removed when using eval.

My Output should look like:

target1: dep1
        @cmda
        @cmdb

target2: dep2
        @cmda
        @cmdb

but the eval output is e.g.:
target2: dep2   @cmda   @cmdb

because eval removes the newline, I tried to do the following:
target1: dep1; @cmda; @cmdb

but there, make complains, that /bin/sh does not find "@"??
What must I do do bring multiple command lines in a usable sequence when using an eval expression?

Best regards,

Erik



reply via email to

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