<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://genome.sph.umich.edu/w/index.php?action=history&amp;feed=atom&amp;title=Makefile.tool</id>
	<title>Makefile.tool - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://genome.sph.umich.edu/w/index.php?action=history&amp;feed=atom&amp;title=Makefile.tool"/>
	<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Makefile.tool&amp;action=history"/>
	<updated>2026-11-01T07:47:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Makefile.tool&amp;diff=3143&amp;oldid=prev</id>
		<title>Mktrost at 21:20, 28 March 2011</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Makefile.tool&amp;diff=3143&amp;oldid=prev"/>
		<updated>2011-03-28T21:20:33Z</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 21:20, 28 March 2011&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-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&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;* USER_COMPILE_VARS - any additional compile variables that you may have.  Make sure you specify the &amp;lt;code&amp;gt;-D&amp;lt;/code&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;* USER_COMPILE_VARS - any additional compile variables that you may have.  Make sure you specify the &amp;lt;code&amp;gt;-D&amp;lt;/code&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;* USER_INCLUDES - any additional directories that need to be included to pick up header files.  Make sure you specify the &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;. (example: USER_INCLUDES=-ImyDir1 -ImyDir2)&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;* USER_INCLUDES - any additional directories that need to be included to pick up header files.  Make sure you specify the &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;. (example: USER_INCLUDES=-ImyDir1 -ImyDir2)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&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: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* USER_LIBS - any additional libraries that you need to include.&lt;/ins&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;* INSTALLDIR - where you want your executable to go if you type &amp;lt;code&amp;gt;make install&amp;lt;/code&amp;gt;.  Default is &amp;lt;code&amp;gt;/usr/local/bin&amp;lt;/code&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;* INSTALLDIR - where you want your executable to go if you type &amp;lt;code&amp;gt;make install&amp;lt;/code&amp;gt;.  Default is &amp;lt;code&amp;gt;/usr/local/bin&amp;lt;/code&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;br&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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Mktrost</name></author>
	</entry>
	<entry>
		<id>http://genome.sph.umich.edu/w/index.php?title=Makefile.tool&amp;diff=3141&amp;oldid=prev</id>
		<title>Mktrost: Created page with &#039;= Makefile.tool= == Settings == === Basic Settings === * EXE - the executable name * BIN_DIR - path to where you want your binary.  Default is &lt;code&gt;../../src/bin&lt;/code&gt; * PATH_T…&#039;</title>
		<link rel="alternate" type="text/html" href="http://genome.sph.umich.edu/w/index.php?title=Makefile.tool&amp;diff=3141&amp;oldid=prev"/>
		<updated>2011-03-28T21:07:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;= Makefile.tool= == Settings == === Basic Settings === * EXE - the executable name * BIN_DIR - path to where you want your binary.  Default is &amp;lt;code&amp;gt;../../src/bin&amp;lt;/code&amp;gt; * PATH_T…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Makefile.tool=&lt;br /&gt;
== Settings ==&lt;br /&gt;
=== Basic Settings ===&lt;br /&gt;
* EXE - the executable name&lt;br /&gt;
* BIN_DIR - path to where you want your binary.  Default is &amp;lt;code&amp;gt;../../src/bin&amp;lt;/code&amp;gt;&lt;br /&gt;
* PATH_TO_BASE - path to the base statgen directory (inside the statgen directory).  Default is &amp;lt;code&amp;gt;../..&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Your cpp &amp;amp; h File Settings ===&lt;br /&gt;
Tell the makefiles the names of your files&lt;br /&gt;
* TOOLBASE - the base filename where you have both .h &amp;amp; .cpp files.&lt;br /&gt;
* SRCONLY - any cpp files without headers.&lt;br /&gt;
* HDRONLY - any header files without cpp&lt;br /&gt;
* COMPILE_ANY_CHANGE - any files that should be compiled if any of the files change.  These files MUST also be included in TOOLBASE or SRCONLY.  Here they are just the base name without the extension.&lt;br /&gt;
&lt;br /&gt;
=== Additional Settings ===&lt;br /&gt;
* VERSION - version of the code.  Default is &amp;lt;code&amp;gt;0.0.1&amp;lt;/code&amp;gt;.  This is optional if you want to make use of it.&lt;br /&gt;
* USER_COMPILE_VARS - any additional compile variables that you may have.  Make sure you specify the &amp;lt;code&amp;gt;-D&amp;lt;/code&amp;gt;.&lt;br /&gt;
* USER_INCLUDES - any additional directories that need to be included to pick up header files.  Make sure you specify the &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt;. (example: USER_INCLUDES=-ImyDir1 -ImyDir2)&lt;br /&gt;
* INSTALLDIR - where you want your executable to go if you type &amp;lt;code&amp;gt;make install&amp;lt;/code&amp;gt;.  Default is &amp;lt;code&amp;gt;/usr/local/bin&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example Contents of Makefile.tool ==&lt;br /&gt;
&lt;br /&gt;
 EXE = libraryExample&lt;br /&gt;
 TOOLBASE = LibraryExample&lt;br /&gt;
 SRCONLY = Main.cpp&lt;br /&gt;
 PATH_TO_BASE = /home/mktrost/statgen&lt;br /&gt;
 BIN_DIR = .&lt;/div&gt;</summary>
		<author><name>Mktrost</name></author>
	</entry>
</feed>