discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Crazy Makefile


From: Richard Frith-Macdonald
Subject: Re: Crazy Makefile
Date: Tue, 22 Feb 2005 08:27:38 +0000


On 22 Feb 2005, at 07:31, James Sodini wrote:

Hey all, I'm trying to do a really big project using the GNUstep base
libraries. Basically my school is competing in the DARPA grand
challenge, and my senior project is to write the majority of the
software for it. I'm using Objective-C with the GNUstep base so I can
easily move between Mac OS X and Linux seemlessly (that and the
retain/release methods are just too helpful). My only complaint is
this crazy makefile system that is forced on me.

I don't think 'crazy' is a term calculated to get you a lot of help ... as
most people view the makefile system as a major asset of GNUstep
(to the point where some use it on MacOS-X to build Cocoa projects)
and would characterise it as user friendly, simple, and powerful.
Might I suggest you use 'unfamiliar' rather than 'crazy'

 What I'm trying to do
is compile some code using the sqlite3 library. I was hoping someone
in here could help me figure out how to include a library to be
compiled in the GNUmakefile,

There are ways to include the library with everything, or with particular libraries, bundles or executables. The variables you set to do these things
are documented in the 'Documentation' subdirectory (unless you have an
old version of the package).

For instance, if you are building tools, you might add a line like
ADDITIONAL_TOOL_LIBS = -lsqlite3

or better yet, bypass the makefile
altogether.

Bad idea ... the makefiles package will reward you by making life much easier
if you let it.





reply via email to

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