Maarten ter Huurne
|
fb3f8ca220
Tell Leopard system headers not to use "$UNIX2003" suffices. Thanks to BouKiCHi.
|
17 years ago |
Maarten ter Huurne
|
b676fcb4e7
Mac OS X 10.5 uses a new environment variable to compile backwards compatible packages: MACOSX_DEPLOYMENT_TARGET. So we should set it correctly. Thanks to BouKiCHi for this patch.
|
17 years ago |
Maarten ter Huurne
|
ca8040a991
Fixed previous commit: the command was OK, but it was applied to dynamimc linking instead of static linking.
|
17 years ago |
Maarten ter Huurne
|
3dcc1facfe
On OS X, sdl-config actually produces static link flags that work (without the risk of picking up dynamic libs instead by using the -l option).
|
17 years ago |
Maarten ter Huurne
|
0906b10b99
Implemented static linking for all platforms. One important change is that the use of the 3rdparty build system is now almost fully decoupled from static linking. Although we do not use this flexibility at the moment, it does make the Makefiles cleaner.
|
17 years ago |
Maarten ter Huurne
|
67f653e8fd
Moved definition of SYSTEM_LIBS to platform-*.mk.
|
17 years ago |
Maarten ter Huurne
|
2b03c5a47e
Do not export NEXT_ROOT in (files included by) main.mk, because it breaks hdiutil.
|
17 years ago |
Maarten ter Huurne
|
ae0f547281
Compile against the SDK instead of the systemwide headers. This fixes compilation on OS X 10.3 with recent QuickTime versions.
|
17 years ago |
Maarten ter Huurne
|
66113ff39e
Added empty line for consistency.
|
17 years ago |
Maarten ter Huurne
|
0618ff3ef6
Determine compile flags in main.mk instead of 3rdparty.mk, because it is not just the flavour that adds flags, but also the platform and CPU.
|
17 years ago |
Maarten ter Huurne
|
ccf53c18b6
We should use "-arch" in the link step as well.
|
17 years ago |
Maarten ter Huurne
|
bf9dba9af0
Be careful with "override" directive, since it makes the variable immutable without that directive from that point onward. This part is *not* in the manual.
|
17 years ago |
Maarten ter Huurne
|
f40a9555a9
It seems x86 is selected by "-arch i386", even though the code it produces will not run on a 386...
|
17 years ago |
Maarten ter Huurne
|
4cbf0129f2
Pass architecture to compiler.
|
17 years ago |
Maarten ter Huurne
|
5b7529b42b
Look for GLEW in DarwinPorts or Fink dirs.
|
19 years ago |
Maarten ter Huurne
|
4e642db177
Added flag suggested by linker.
|
20 years ago |
Maarten ter Huurne
|
25663569c8
Specify the right GL include and link flags for Apple's GL implementation.
|
20 years ago |
Maarten ter Huurne
|
bb5e44fa23
Separated CPU and OS in build system.
|
20 years ago |