discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUmakefile


From: Justin Lolofie
Subject: Re: GNUmakefile
Date: Mon, 16 Mar 2009 09:48:53 -0500

Ah, yes, this makes sense. I have a working GNUmakefile to build it as a shared library now. I'll pass it on to the developers in case they are interested.

On Mon, Mar 16, 2009 at 6:43 AM, Truls Becken <truls.becken@gmail.com> wrote:
Richard Frith-Macdonald wrote:
>
> On 13 Mar 2009, at 14:14, Justin Lolofie wrote:
>
>> So, I've written my first very simple command line tool with objc/gnustep.
>> Below is my GNUmakefile which works fine. Now I'd like to start using
>> plausible database which is an objc sqlite wrapper. It contains 8 .h and 8
>> .m files. I'm trying to figure out what to add to my GNUmakefile to
>> compile/link those files correctly. I see that there is a
>> "ADDITIONAL_INCLUDE_DIRS" which I can use to find the plausible db header
>> files, but I'm not sure how to tell it where the .m file are and how to
>> build them. I dont think they go in bwatch_OBJC_FILES do they? Thanks for
>> any help.
>
> Use bwatch_TOOL_LIBS to add libraries you want to link with ... that's what
> I do to link the SQLClient library (also wraps sqlite along with postgres
> and other database) with my tools.

First, Justin needs to compile pldatabase. This raises the question if
he should build it as a library or a framework. In any event, the
natural approach is to write a GNUmakefile to replace the Xcode
project file that comes with pldatabase (or use some tool to convert
it?). If someone tackles this properly, it would be nice to get the
makefile accepted upstream.

-Truls


reply via email to

[Prev in Thread] Current Thread [Next in Thread]