Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
992359c8
Commit
992359c8
authored
17 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Allow passing the path to SDL.framework on the make command line.
parent
f0c1fe37
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/xpdev/Common.gmake
+7
-4
7 additions, 4 deletions
src/xpdev/Common.gmake
with
7 additions
and
4 deletions
src/xpdev/Common.gmake
+
7
−
4
View file @
992359c8
...
...
@@ -78,6 +78,9 @@ ifdef USE_SDL_AUDIO
else
ifeq ($(os),darwin)
ifeq ($(shell if [ -d /Library/Frameworks/SDL.framework ] ; then echo YES ; fi),YES)
SDL_FRAMEWORK_PATH ?= /Library/Frameworks
endif
ifdef SDL_FRAMEWORK_PATH
WITH_SDL_AUDIO := 1
endif
else
...
...
@@ -134,11 +137,11 @@ ifdef WITH_SDL_AUDIO
else
ifeq ($(os),darwin)
XPDEV-MT_CFLAGS += -DWITH_SDL_AUDIO -DSTATIC_SDL
XPDEV-MT_CFLAGS += -I
/Library/Frameworks
/SDL.framework/Headers
XPDEV-MT_LIBS += -framework SDL -framework Cocoa -framework Carbon -I
/Library/Frameworks
/SDL.framework/Headers
XPDEV-MT_CFLAGS += -I
${SDL_FRAMEWORK_PATH}
/SDL.framework/Headers
XPDEV-MT_LIBS +=
-F${SDL_FRAMEWORK_PATH}
-framework SDL -framework Cocoa -framework Carbon -I
${SDL_FRAMEWORK_PATH}
/SDL.framework/Headers
XPDEV_CFLAGS += -DWITH_SDL_AUDIO -DSTATIC_SDL
XPDEV_CFLAGS += -I
/Library/Frameworks
/SDL.framework/Headers
XPDEV_LIBS += -framework SDL -framework Cocoa -framework Carbon -I
/Library/Frameworks
/SDL.framework/Headers
XPDEV_CFLAGS += -I
${SDL_FRAMEWORK_PATH}
/SDL.framework/Headers
XPDEV_LIBS +=
-F${SDL_FRAMEWORK_PATH}
-framework SDL -framework Cocoa -framework Carbon -I
${SDL_FRAMEWORK_PATH}
/SDL.framework/Headers
endif
endif
endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment