I will be happy to share my Makefile.config.osx and Makefile.config.linux
as examples

Sergio


2014-02-11 Evan Shelhamer <notifications@github.com>:

> In Makefile:
>
> > @@ -2,7 +2,34 @@
> >  PROJECT := caffe
> >  TEST_GPUID := 0
> >
> > -include Makefile.config
> > +# detect OS
> > +OSLOWER = $(shell uname -s 2>/dev/null | tr [:upper:] [:lower:])
> > +# 'linux' is output for Linux system, 'darwin' for OS X
> > +OSX = $(strip $(findstring darwin, $(OSLOWER)))
> > +LINUX = $(strip $(findstring linux, $(OSLOWER)))
> > +ifneq ($(DARWIN),)
> > +# Specific to OS X
> > +	include Makefile.config.mac
>
> This should stay Makefile.config unless we're going to write a separate
> Makefile.config.osx.example and Makefile.config.linux.example.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/BVLC/caffe/pull/95/files#r9654662>
> .
>