Re: [dev] Reasonable Makefiles

From: Nick <suckless-dev_AT_njw.me.uk>
Date: Tue, 11 Feb 2014 14:43:49 +0000

On Tue, Feb 11, 2014 at 01:28:42PM +0000, sin wrote:
> It also makes it easy to have a configure script like as shown below:
>
> #!/bin/sh
>
> case `uname` in
> OpenBSD)
> ln config.bsd config.mk
> ;;
> *)
> ln config.posix config.mk
> ;;
> esac

Aha! Now there's a good idea. I hadn't seriously considered using a
script (because of the bad feelings that come with running most
./configure scripts), but something like that sounds ideal for my
purposes.

Thanks sin!
Received on Tue Feb 11 2014 - 15:43:49 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 11 2014 - 15:48:22 CET