<?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: makefile in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/makefile/m-p/3050365#M813191</link>
    <description>Brian,&lt;BR /&gt;  There are numerous resources available in the net.  &lt;BR /&gt;&lt;BR /&gt;  This book may be old but still holds good to start with makefiles.&lt;BR /&gt;  &lt;A href="http://www.oreilly.com/catalog/make2/" target="_blank"&gt;http://www.oreilly.com/catalog/make2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;  For a headstart tutorial&lt;BR /&gt;&lt;A href="http://linux.oreillynet.com/pub/a/linux/2002/01/31/make_intro.html" target="_blank"&gt;http://linux.oreillynet.com/pub/a/linux/2002/01/31/make_intro.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;  For a complete reference (gnu site is not loading for me right now).  Check the manuals section for gmake.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Umapathy&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 17 Aug 2003 13:47:47 GMT</pubDate>
    <dc:creator>Umapathy S</dc:creator>
    <dc:date>2003-08-17T13:47:47Z</dc:date>
    <item>
      <title>makefile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/makefile/m-p/3050364#M813190</link>
      <description>I am trying to create a make file.&lt;BR /&gt;WhatI need to do is create a makefile that will compile two .cpp files and link them together. Does anyone know how I can create this makefile in the simplest of terms. Thankyou.</description>
      <pubDate>Sat, 16 Aug 2003 23:15:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/makefile/m-p/3050364#M813190</guid>
      <dc:creator>Brian W Herriman</dc:creator>
      <dc:date>2003-08-16T23:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: makefile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/makefile/m-p/3050365#M813191</link>
      <description>Brian,&lt;BR /&gt;  There are numerous resources available in the net.  &lt;BR /&gt;&lt;BR /&gt;  This book may be old but still holds good to start with makefiles.&lt;BR /&gt;  &lt;A href="http://www.oreilly.com/catalog/make2/" target="_blank"&gt;http://www.oreilly.com/catalog/make2/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;  For a headstart tutorial&lt;BR /&gt;&lt;A href="http://linux.oreillynet.com/pub/a/linux/2002/01/31/make_intro.html" target="_blank"&gt;http://linux.oreillynet.com/pub/a/linux/2002/01/31/make_intro.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;  For a complete reference (gnu site is not loading for me right now).  Check the manuals section for gmake.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Umapathy&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Aug 2003 13:47:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/makefile/m-p/3050365#M813191</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-08-17T13:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: makefile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/makefile/m-p/3050366#M813192</link>
      <description>The make(1) man page contains the simplest example of what you want:&lt;BR /&gt;&lt;BR /&gt;The following makefile says that pgm depends on two files: a.o and b.o, and that they in turn depend on their corresponding source files (a.c and b.c) and a common file incl.h:&lt;BR /&gt;&lt;BR /&gt;OBJS = a.o b.o&lt;BR /&gt;&lt;BR /&gt;pgm: $(OBJS)&lt;BR /&gt;&lt;TAB&gt;cc $(OBJS) -o pgm&lt;BR /&gt;&lt;BR /&gt;a.o: incl.h a.c&lt;BR /&gt;&lt;TAB&gt;cc -c a.c&lt;BR /&gt;&lt;BR /&gt;b.o: incl.h b.c&lt;BR /&gt;&lt;TAB&gt;cc -c b.c&lt;BR /&gt;&lt;BR /&gt;Just change the dependency lists and commands (remember tabs!)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve&lt;/TAB&gt;&lt;/TAB&gt;&lt;/TAB&gt;</description>
      <pubDate>Mon, 18 Aug 2003 07:11:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/makefile/m-p/3050366#M813192</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2003-08-18T07:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: makefile</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/makefile/m-p/3050367#M813193</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Here s the sample makefile. Let a.cpp, b.cpp are the cpp files and the binary is z. So, in make file you need to write as below. Make sure that tab is given after ':' you can compile this by using 'make -f &lt;MAKEFILE name=""&gt;'&lt;BR /&gt;&lt;BR /&gt;a.o: CC -c -o a.cpp&lt;BR /&gt;b.o: CC -c -o b.cpp&lt;BR /&gt;z:   a.o b.o&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;VJ.&lt;/MAKEFILE&gt;</description>
      <pubDate>Mon, 18 Aug 2003 07:39:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/makefile/m-p/3050367#M813193</guid>
      <dc:creator>vasundhara</dc:creator>
      <dc:date>2003-08-18T07:39:37Z</dc:date>
    </item>
  </channel>
</rss>

