<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://vrl.cs.brown.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Example_Makefile_for_a_library</id>
	<title>Example Makefile for a library - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://vrl.cs.brown.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Example_Makefile_for_a_library"/>
	<link rel="alternate" type="text/html" href="http://vrl.cs.brown.edu/wiki/index.php?title=Example_Makefile_for_a_library&amp;action=history"/>
	<updated>2026-04-18T06:24:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://vrl.cs.brown.edu/wiki/index.php?title=Example_Makefile_for_a_library&amp;diff=6262&amp;oldid=prev</id>
		<title>Jadrian Miles at 23:14, 17 January 2013</title>
		<link rel="alternate" type="text/html" href="http://vrl.cs.brown.edu/wiki/index.php?title=Example_Makefile_for_a_library&amp;diff=6262&amp;oldid=prev"/>
		<updated>2013-01-17T23:14:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:14, 17 January 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Example of a Makefile for a simple library ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# G_COMPILER settings are optional, but are handy if you want to designate a&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# G_COMPILER settings are optional, but are handy if you want to designate a&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jadrian Miles</name></author>
	</entry>
	<entry>
		<id>http://vrl.cs.brown.edu/wiki/index.php?title=Example_Makefile_for_a_library&amp;diff=6257&amp;oldid=prev</id>
		<title>Jadrian Miles: moved Library to Example Makefile for a library: Poorly named.</title>
		<link rel="alternate" type="text/html" href="http://vrl.cs.brown.edu/wiki/index.php?title=Example_Makefile_for_a_library&amp;diff=6257&amp;oldid=prev"/>
		<updated>2013-01-17T23:12:42Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/wiki/index.php/Library&quot; class=&quot;mw-redirect&quot; title=&quot;Library&quot;&gt;Library&lt;/a&gt; to &lt;a href=&quot;/wiki/index.php/Example_Makefile_for_a_library&quot; title=&quot;Example Makefile for a library&quot;&gt;Example Makefile for a library&lt;/a&gt;: Poorly named.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:12, 17 January 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Jadrian Miles</name></author>
	</entry>
	<entry>
		<id>http://vrl.cs.brown.edu/wiki/index.php?title=Example_Makefile_for_a_library&amp;diff=4633&amp;oldid=prev</id>
		<title>Brad Berg: New page: == Example of a Makefile for a simple library ==  &lt;pre&gt; # G_COMPILER settings are optional, but are handy if you want to designate a # preferred compiler.  If they are set here you won&#039;t n...</title>
		<link rel="alternate" type="text/html" href="http://vrl.cs.brown.edu/wiki/index.php?title=Example_Makefile_for_a_library&amp;diff=4633&amp;oldid=prev"/>
		<updated>2010-11-19T16:35:06Z</updated>

		<summary type="html">&lt;p&gt;New page: == Example of a Makefile for a simple library ==  &amp;lt;pre&amp;gt; # G_COMPILER settings are optional, but are handy if you want to designate a # preferred compiler.  If they are set here you won&amp;#039;t n...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Example of a Makefile for a simple library ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# G_COMPILER settings are optional, but are handy if you want to designate a&lt;br /&gt;
# preferred compiler.  If they are set here you won&amp;#039;t need to set them outside&lt;br /&gt;
# the Makefile.  Generally a library is built with all available compilers.&lt;br /&gt;
# This gives users the freedom to use the compiler of their choice.&lt;br /&gt;
#&lt;br /&gt;
ifeq ($(GARCH),linux)&lt;br /&gt;
    G_COMPILER ?= gcc4&lt;br /&gt;
endif&lt;br /&gt;
ifeq ($(GARCH),WIN32)&lt;br /&gt;
    G_COMPILER ?= cl9&lt;br /&gt;
endif&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# The project name is used to create directory names.  For consistency&lt;br /&gt;
# make this the same name as the top level directory for the project.&lt;br /&gt;
#&lt;br /&gt;
PROJECT = collection&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# For a project with subdirectories the PROJECT_HOME variable is the path&lt;br /&gt;
# of the top level directory in the project.  In a simple project there&lt;br /&gt;
# is only the top level directory and this setting is not needed.&lt;br /&gt;
#&lt;br /&gt;
PROJECT_HOME = $(realpath ./)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# This is the name of the generated library file.&lt;br /&gt;
# There can be more only one library per directory.&lt;br /&gt;
#&lt;br /&gt;
LIBRARY = crest&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# For C++ sources in a library set the CXXSRC variable.&lt;br /&gt;
#&lt;br /&gt;
CXXSRC = crest.cpp   subroutine.cpp&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# For C sources in a library set the CSRC variable.&lt;br /&gt;
#&lt;br /&gt;
CSRC = utility.c&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#  Include files to be installed.  Do not list include files&lt;br /&gt;
#  that are private.&lt;br /&gt;
#&lt;br /&gt;
INCLUDE_H = subroutine.h     utility.h&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# This include brings in the G Build Make files and is required.&lt;br /&gt;
#&lt;br /&gt;
include  $(G)/common/build/make/directory.make&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# This include brings in Make declarations to build a library&lt;br /&gt;
# with all available compilers.  Note that when you include&lt;br /&gt;
# this make file additional targets are declared for:&lt;br /&gt;
#    install   all   allclean&lt;br /&gt;
#&lt;br /&gt;
include  $(G)/common/build/make/build.multiple.make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Brad Berg</name></author>
	</entry>
</feed>