24 lines
538 B
Bash
24 lines
538 B
Bash
#!/bin/sh
|
|
|
|
# This script will run configure for a Macintosh/CodeWarrior Pro
|
|
# environment. I actually run this on my Linux machine, but
|
|
# the generated files are for a Mac.
|
|
|
|
set echo
|
|
|
|
# These really just make ./configure happy on your Unix machine.
|
|
# They are not the options used on your Mac.
|
|
CC="cc"
|
|
CFLAGS="-fpascal-strings -fno-common -arch ppc -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh -pipe -g"
|
|
CXX="$CC"
|
|
CXXFLAGS="$CFLAGS"
|
|
|
|
export CC
|
|
export CXX
|
|
export CFLAGS
|
|
export CXXFLAGS
|
|
|
|
./configure --with-carbon
|
|
|
|
unset echo
|