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

Re: How to build packages from tarballs without makefiles



I demand that Carlo Segre may or may not have written...

> On Sun, 9 Apr 2006, David Liontooth wrote:
[snip]
>> I need a bit more help -- where do I add them to rules?

>>   CFLAGS = -Wall -g

>> Can I add the "Link with" line to give

>>  CFLAGS = -Wall -g -lGLU -lGL -lXmu -lXext -lX11

[snip]
> BTW, a library package may not be the best thing to learn packaging.  A
> package which produces a single executable is much easier.

... and, since it's a library, you *must* add -fPIC to CFLAGS.

-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Buy less and make it last longer.         INDUSTRY CAUSES GLOBAL WARMING.

Error 216: Tagline out of paper



Reply to: