Hi,
I have a small piece of Makefile script which throw's error on Sun Sparc machine, but works fine with Sun Optron, Linux, AIX machines.
================================
FOO=Naveen
test1:FOO=Dhilip
test1:
@echo FOO is ${FOO}
test2:
@echo Me is ${FOO}
================================
Output on Sun Sparc -
==================
ukhml-v890new-~/test: make test1
make: *** No rule to make target `FOO=Dhilip', needed by `test1'. Stop.
Output on Sun Optron -
==================
ukhml-helios-~/shivtest: make test1
FOO is Dhilip
Anyone has an idea, why this syntax error thrown on Sun Sparc ?
Regards.,
Naveen Sriram.