Re: make not working gmake works

2008-02-18 Thread Schiz0
On Feb 18, 2008 10:02 AM, navneet Upadhyay [EMAIL PROTECTED] wrote:
 Hi,
  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?

 Thanks,
 Navneet

The FreeBSD make is different than linux's make.
Linux uses GNU's make. BSD has it's own version.
gmake is the command of GNU make for bsd.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make not working gmake works

2008-02-18 Thread Heiko Wundram (Beenic)
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make not working gmake works

2008-02-18 Thread Dominic Fandrey

navneet Upadhyay wrote:

Hi,
 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?

Thanks,
Navneet


Linux Distributions normally have GNU-Make installed as make. GNU-Make ist 
what you're running if you run gmake under FreeBSD. If you run make on 
FreeBSD you're running a variant of pmake, which has an entirely different 
syntax from GNU-Make.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]