[Cialug] Makefile question
Jeffrey Ollie
jeff at ocjtech.us
Sun Feb 15 12:20:00 CST 2015
I'd recommend using something other than plain makefiles. I like SCons as
a buildsystem but CMake would work well too. There are lots of options out
there.
On Sun, Feb 15, 2015 at 12:33 AM, Brian Wood <woodbrian77 at gmail.com> wrote:
> I'm adding some dependency generation stuff to my
> makefiles. This line:
>
> -include $(objects:%.o=%.d)
>
> works fine on Linux which I think is using Gnu make.
> But on PCBSD/FreeBSD I get this error:
>
> Line 19 Need an operator
>
> I think the make on FreeBSD is BSD make or something
> like that and it might not be able to handle the % stuff
> in that line. I'd like to have one makefile for both platforms
> and not have to use Gnu make on FreeBSD, but am not
> sure if that's possible. Any ideas? Thanks in Advance.
>
> --
> Brian
> Ebenezer Enterprises - In G-d we trust.
> http://webEbenezer.net
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
--
Jeff Ollie
More information about the Cialug
mailing list