help-make
[Top][All Lists]
Advanced

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

Re: Crazy make rules with here documents, example.


From: Stephan Beal
Subject: Re: Crazy make rules with here documents, example.
Date: Tue, 6 Apr 2010 14:55:24 +0200

On Mon, Apr 5, 2010 at 10:29 PM, Mike Mestnik <address@hidden> wrote:

@$(PRELFSH)gcc -E -o - - <<'\''EOF'\'' | gcc -x c -o helloworld - \
#include <stdio.h>\
int main( int argc, const char* argv[] ) {\
printf("Hello World!!!\\n");\
return(0);\
};\
EOF$(POSTLFSH)


Can you not output the commands to a temp file and read it in via < ?

--
----- stephan beal
http://wanderinghorse.net/home/stephan/

reply via email to

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