For SM, you'll need to make this edit to the Makefile.SDL.OSX.GCC:
On line 68, which should look like:
- Code: Select all
COMPILER_FLAGS = -I$(OBJ_DIR) -ISrc/ -ISrc/OSD -ISrc/OSD/SDL/ -ISrc/Pkgs/ -ISrc/CPU/68K/Musashi -ISrc/Sound/MPEG -c -Wall -O3 -DUSE_FILE32API -DSUPERMODEL_OSX
Go to the end of the line and add -F/Library/Frameworks/. This will make it look like this:
- Code: Select all
COMPILER_FLAGS = -I$(OBJ_DIR) -ISrc/ -ISrc/OSD -ISrc/OSD/SDL/ -ISrc/Pkgs/ -ISrc/CPU/68K/Musashi -ISrc/Sound/MPEG -c -Wall -O3 -DUSE_FILE32API -DSUPERMODEL_OSX -F/Library/Frameworks/
And on line 71, which starts off like this:
- Code: Select all
LFLAGS = -o $(OUTFILE) $(SDL_LDFLAGS) -lz -lm -lstdc++
Make the same addition, so you end up with:
- Code: Select all
LFLAGS = -o $(OUTFILE) $(SDL_LDFLAGS) -lz -lm -lstdc++ -F/Library/Frameworks/
Supermodel will then compile and link on OS X 10.9.
There are a lot of new warnings along the way because Xcode 5.0 and later eliminate GCC entirely in favor of Clang, which is a bit stricter by default. Hopefully we can get many of those cleaned up for the next release, whenever that is
