<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re:  Make: infinitely recursive macro in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434410#M707465</link>
    <description>Not sure if this used to work on 11.00, but if you use GNU make and define your variable with ':=' it should work the way you wanted it to.&lt;BR /&gt;&lt;BR /&gt;PATH := /home/speedware:${PATH}&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 02 Dec 2004 18:07:04 GMT</pubDate>
    <dc:creator>Ermin Borovac</dc:creator>
    <dc:date>2004-12-02T18:07:04Z</dc:date>
    <item>
      <title>Make: infinitely recursive macro</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434406#M707461</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;I am trying to do the following in a makefile&lt;BR /&gt;I want to know if the following is valid because it work on hpux 11.00 but not on hpux 11.11 or 11.22. I am getting the following error: &lt;BR /&gt;Make: infinitely recursive macro?.  Stop.&lt;BR /&gt;&lt;BR /&gt;PATH=/home/speedware:${PATH}&lt;BR /&gt;all: test&lt;BR /&gt;test: &lt;BR /&gt;      &lt;BR /&gt;&lt;BR /&gt;Because I want to add directory to the Environment variable PATH in my makefile &lt;BR /&gt;How would I do that ? (if its possibable )&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2004 15:24:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434406#M707461</guid>
      <dc:creator>Speedware</dc:creator>
      <dc:date>2004-12-01T15:24:43Z</dc:date>
    </item>
    <item>
      <title>Re:  Make: infinitely recursive macro</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434407#M707462</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This is not allowed. This fails as PATH is not defined before substitution.&lt;BR /&gt;&lt;BR /&gt;manish</description>
      <pubDate>Thu, 02 Dec 2004 08:12:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434407#M707462</guid>
      <dc:creator>Manish Srivastava</dc:creator>
      <dc:date>2004-12-02T08:12:11Z</dc:date>
    </item>
    <item>
      <title>Re:  Make: infinitely recursive macro</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434408#M707463</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Indeed&lt;BR /&gt;&lt;BR /&gt;PATH is defined as itself.  Thus making this an "infinitely recursive&lt;BR /&gt;macro", which cannot be expanded, so the make operation fails.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PATH=/home/speedware:$PATH is probably what you mean&lt;BR /&gt;&lt;BR /&gt;          Steve Steel&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Dec 2004 09:02:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434408#M707463</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-12-02T09:02:46Z</dc:date>
    </item>
    <item>
      <title>Re:  Make: infinitely recursive macro</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434409#M707464</link>
      <description>But what I find weird is that it use to work on hpux 11.00 ???&lt;BR /&gt;&lt;BR /&gt;Does anyone know if something was fix at one point in make ?&lt;BR /&gt;&lt;BR /&gt;Also &lt;BR /&gt;PATH=/home/speedware:$PATH does not work since Make report $P as the variable and ATH as incorrect variable.</description>
      <pubDate>Thu, 02 Dec 2004 09:41:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434409#M707464</guid>
      <dc:creator>Speedware</dc:creator>
      <dc:date>2004-12-02T09:41:02Z</dc:date>
    </item>
    <item>
      <title>Re:  Make: infinitely recursive macro</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434410#M707465</link>
      <description>Not sure if this used to work on 11.00, but if you use GNU make and define your variable with ':=' it should work the way you wanted it to.&lt;BR /&gt;&lt;BR /&gt;PATH := /home/speedware:${PATH}&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Dec 2004 18:07:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434410#M707465</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-12-02T18:07:04Z</dc:date>
    </item>
    <item>
      <title>Re:  Make: infinitely recursive macro</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434411#M707466</link>
      <description>Thanks for the tips.&lt;BR /&gt;&lt;BR /&gt;That work in GNU make. The only problem is the fact that we are linking our product at installation time. I need a standard way of doing this so its going to work on all platform without depending on extra software.</description>
      <pubDate>Thu, 02 Dec 2004 18:10:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434411#M707466</guid>
      <dc:creator>Speedware</dc:creator>
      <dc:date>2004-12-02T18:10:54Z</dc:date>
    </item>
    <item>
      <title>Re:  Make: infinitely recursive macro</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434412#M707467</link>
      <description>Your PATH macro is definitely infinitely recursive and you are relying on quirks of particular makes to work. A much more portable method would be something like this placed in all your makefiles.&lt;BR /&gt;&lt;BR /&gt;PATH=`/usr/local/speedpath.sh`&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The speedpath.sh command would do something like this:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;PATH=/home/speedpath:${PATH}&lt;BR /&gt;echo ${PATH}&lt;BR /&gt;exit 0&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Dec 2004 19:45:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/make-infinitely-recursive-macro/m-p/3434412#M707467</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-12-02T19:45:39Z</dc:date>
    </item>
  </channel>
</rss>

