Make architecture on OSX be variable (ppc, i386, x86_64)

This commit is contained in:
David Schmidt 2011-01-03 15:53:02 +00:00
parent 632f67aea9
commit e2758d666d
2 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,7 @@ specials_clean:
# Mac builds:
gsportmac: $(OBJECTS) compile_time.o
$(CC) $(CCOPTS) $(LDOPTS) -arch ppc $(OBJECTS) compile_time.o $(LDFLAGS) -o gsport $(EXTRA_LIBS) -prebind -framework Carbon -framework Quicktime
$(CC) $(CCOPTS) $(LDOPTS) -arch $(ARCH) $(OBJECTS) compile_time.o $(LDFLAGS) -o gsport $(EXTRA_LIBS) -prebind -framework Carbon -framework Quicktime
mkdir -p ../GSport.app/Contents/Resources/English.lproj/main.nib
mkdir -p ../GSport.app/Contents/MacOS
mv gsport ../GSport.app/Contents/MacOS/GSport

View File

@ -4,7 +4,8 @@ OBJECTS = $(OBJECTS1) scc_macdriver.o macsnd_driver.o macdriver_generic.o macdri
CCOPTS = -O2 -DMAC
SUFFIX =
NAME = gsportmac
ARCH = ppc
XOPTS = -Wall -fpascal-strings -mdynamic-no-pic -arch ppc
XOPTS = -Wall -fpascal-strings -mdynamic-no-pic -arch $(ARCH)
XLIBS =