add misc/target

db4
Eduardo Cavazos 2008-02-21 19:36:45 -06:00
parent db55ca6408
commit 8ffc619746
1 changed files with 16 additions and 0 deletions

16
misc/target Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
if [ \( `uname -s` = Darwin \) -a \( `uname -p` = powerpc \) ]
then
echo macosx-ppc
elif [ `uname -s` = Darwin ]
then
echo macosx-x86-`./misc/wordsize`
elif [ \( `uname -s` = Linux \) -a \( `uname -m` = i686 \) ]
then
echo linux-x86-`./misc/wordsize`
elif [ \( `uname -o` = Cygwin \) -a \( `uname -m` = i686 \) ]
then
echo winnt-x86-`./misc/wordsize`
fi