Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2008 16:09:46 +0100
From:      "Heiko Wundram (Beenic)" <wundram@beenic.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: make not working gmake works
Message-ID:  <200802181609.47086.wundram@beenic.net>
In-Reply-To: <1563a4fd0802180702y439a9fb1k6eaa059051f667d1@mail.gmail.com>
References:  <1563a4fd0802180702y439a9fb1k6eaa059051f667d1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Montag, 18. Februar 2008 16:02:34 schrieb navneet Upadhyay:
>      I have a Makefile . It works well with Linux versions when i use make
> command.The make command fails on FreeBSD but gmake works fine.
>
> Any clues on this behavior?

make != gmake on *BSD. BSD-make (i.e., make) is a completely different beast 
from GNU-make (i.e., gmake). Generally, Makefiles written for one (except for 
very simple ones) won't run under the other, and vice-versa.

man make

should get you started on the BSD-make syntax and its featureset.

-- 
Heiko Wundram
Product & Application Development



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802181609.47086.wundram>