2002 2003 2004 2005 2006 2007 2008 2009 2010 <2011> 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 2002 2003 2004 2005 2006 2007 2008 2009 2010 <2011> 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: class library header file naming and install conventions |
From: | Andrew Johnson <[email protected]> |
To: | "Jeff Hill" <[email protected]> |
Cc: | [email protected] |
Date: | Tue, 15 Mar 2011 10:58:28 -0600 |
On Tuesday 15 March 2011 11:35:18 Jeff Hill wrote: > Maybe the library's Makefile looks something like this in the future? > > LIBRARY=pdq > > INC += pdq.h > INC_pdq += pdq/Xxxx.h > INC_pdq += pdq/Yyyy.h No need, use INC instead of INC_pdq and the current build system does exactly what you want: tux% mkdir xxx tux% echo Hello > xxx/xxx.h tux% grep xxx.h Makefile INC += xxx/xxx.h tux% make ... Installing generic include file ../../../include/xxx/xxx.h mkdir ../../../include/xxx ... - Andrew -- An error is only a mistake if you don't learn from it. When you learn something from it, it becomes a lesson.