discuss-gnustep
[Top][All Lists]
Advanced

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

Re: simple make file


From: Truls Becken
Subject: Re: simple make file
Date: Tue, 14 Sep 2010 13:50:10 +0200

On 2010-09-14, at 13:32, stolennomenclature wrote:

> I have the following simple makefile, copied from the GNUstep "manual.pdf",
> for the simple example program, as follows:
> 
> include $(GNUSTEP_MAKEFILES)/common.make
> TOOL_NAME = source.m
> rabbitMP_OBJC_FILES = source.m
> include $(GNUSTEP_MAKEFILES)/tool.make
> 
> Now I want to expand it to incorporate the sqlite3 database, which is in the
> form of a single source file called "sqlite3.c" and its accompanying header
> file "sqlite3.h". Somehow the sqlite3 c file needs to be compiled to a
> linkable static object file and then linked in with the "source.m" file,
> which I will modify to include all my new code.

This tutorial (found by following a few links on www.gnustep.org) may be 
helpful:

http://www.gnustep.it/nicola/Tutorials/MoreOnMakefiles

-Truls


reply via email to

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