The attached Makefile, when invoked as follows:
make show_bug
produces output:
--{--make show_bug output--
make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY o
The Makefile at the bottom of this message
(and delimited by --{--Makefile--
and --}--Makefile--),
when invoked as follows:
make show_bug
produces output:
--{--make show_bug output--
make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source
The attached simp.mk make fiil produces output:
--{--simp.mk out--
remake -f simp.mk not_echo yes_echo
NotDef_aaa=aaa
NotDef_yyy=aaa
NotDef=zzz
call_NotDef_template_yyy=NotDef:=yyy
YesDef_aaa=aaa
YesDef_yyy=aaa
YesDef=aaa
call_YesDef_template_yyy=
--}--simp.mk out--
when I would have expected the
On 05/08/11 21:38, Philip Guenther wrote:
[snip]
>> What am I missing?
>
> You missed saying what version of make you were running.
My version is 1.81
>
> My crystal ball says that you're NOT running the version documented by
> the website, yet your makefile uses a syntax that was added in 3.82.
The Makefile in 1st attachment produces output in 2nd
attachment.
How should the which command within the for loop script be
modified to produce the same output as the which command
before the for loop script?
TIA.
-regards,
Larry
COMPILE.gcc=g++
compiles:
make -version
@echo "C
On 07/27/2015 12:59 PM, Paul Smith wrote:
> On Mon, 2015-07-27 at 12:47 -0500, Larry Evans wrote:
>> How should the which command within the for loop script be
>> modified to produce the same output as the which command
>> before the for loop script?
>
> The recipe
On 07/27/2015 03:39 PM, Paul Smith wrote:
> On Mon, 2015-07-27 at 13:50 -0500, Larry Evans wrote:
>> Thanks Paul. It works; however, what I really
>> want is to use the compiler to compile a source file to
>> and object file.
>
> Well, it usually works best to as
On 07/27/2015 03:39 PM, Paul Smith wrote:
> On Mon, 2015-07-27 at 13:50 -0500, Larry Evans wrote:
>> Thanks Paul. It works; however, what I really
>> want is to use the compiler to compile a source file to
>> and object file.
>
> Well, it usually works best to as
On 07/27/2015 05:44 PM, Larry Evans wrote:
[snip]
>
> The attached Makefile summarizes methods tried and the reason
> they failed or succeeded. The last method, the one with
> target=compiles.def, uses define..endef and succeeds.
>
> -regards,
> Larry
Further simpli