EXE_OBJS = $(PLAF_EXE_OBJS)
default: misc/wordsize
- make `./misc/target`
+ $(MAKE) `./misc/target`
help:
- @echo "Run 'make' with one of the following parameters:"
+ @echo "Run '$(MAKE)' with one of the following parameters:"
@echo ""
@echo "freebsd-x86-32"
@echo "freebsd-x86-64"
-#!/bin/bash
+#!/bin/sh
-if [ \( `uname -s` = Darwin \) -a \( `uname -p` = powerpc \) ]
+if [ \( `uname -s ` = FreeBSD \) -a \( `uname -p` = i386 \) ]
+then
+ echo freebsd-x86-32
+elif [ \( `uname -s` = Darwin \) -a \( `uname -p` = powerpc \) ]
then
echo macosx-ppc
elif [ `uname -s` = Darwin ]
echo winnt-x86-`./misc/wordsize`
else
echo help
-fi
\ No newline at end of file
+fi