Subj : Makefiles To : Angus Mcleod From : Deuce Date : Sun Jan 09 2005 07:22 pm Re: Makefiles By: Angus Mcleod to Digital Man on Sat Jan 01 2005 20:19:00 > BTW, Looking quickly, It seems that > > machine := $(shell if/then uname -m | tr "[A-Z]" "[a-z]" | tr " " "_" ; fi > > could simply be > > machine := $(shell if/then uname -m | tr "[A-Z] " "[a-z]_"; fi) > > using one 'tr' instead of two. Unless make introdudes some weird > requirement? A number of tr implementations don't handle that correctly for some reason. Why a space would be in the... *OH* it was Linux on a PPC NewBus MAC that inspired that I think. Not positive, but I think so... 99% of machine names won't have a space... (Maybe it was a newer mac?) --- þ Synchronet þ ``Penguins make tasty snacks'' .