Re: [code] Makefile cleanup... suggestions

From: Pedro Andres Aranda Gutierrez <paaguti.att.gmail.com>
Date: Tue, 20 Feb 2018 07:07:24 +0100

Hi,

thx a lot. Will check and let u know

/PA

Enviado desde mi iPhone

> El 19 feb 2018, a las 21:41, Mitchell <m.att.foicica.com> escribió:
>
> Hi Pedro,
>
>> On Sun, 4 Feb 2018, Pedro Andres Aranda Gutierrez wrote:
>>
>> Hi Mitchell
>>
>> As you know I've been trying to compile the curses version in FreeBSD.
>> This has made me go through the compilation flags and I have seen some flags
>> that seem to stem from older versions of the curses library. It would be
>> good to
>> know why the different flags are there. Those that are related with curses
>> should
>> not be there explicitly, but obtained through "pkg-config --cflags curses"
>> The same applies to the linker flags.
>>
>> As a matter of fact, I'm using a construct in other Makefiles that allows me
>> to compile programs with curses and ncurses:
>>
>> ifeq (1,$(shell pkg-config ncurses && echo 1))
>> CFLAGS += pkg-config --cflags ncurses
>> LDFLAGS += pkg-config --libs ncurses
>> else
>> CFLAGS += pkg-config --cflags curses
>> LDFLAGS += pkg-config --libs curses
>> endif
>>
>> Once that is sorted out, it would be good to continue with other libraries.
>
> I've committed something[1] that should help.
>
> Cheers,
> Mitchell
>
> [1]: https://foicica.com/hg/textadept/rev/198df90ca9c0
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 20 Feb 2018 - 01:07:24 EST

This archive was generated by hypermail 2.2.0 : Tue 20 Feb 2018 - 06:28:43 EST