Manually integrated @gtbass OSX changes.
This commit is contained in:
parent
f85b001272
commit
70fd65501e
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
.debug/
|
||||
.svn/
|
||||
tags
|
||||
.DS_Store
|
||||
|
17
examples/common/entry_osx.cpp
Normal file
17
examples/common/entry_osx.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
/*
|
||||
* Copyright 2011-2012 Branimir Karadzic. All rights reserved.
|
||||
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <bx/bx.h>
|
||||
|
||||
#if BX_PLATFORM_OSX
|
||||
|
||||
extern int _main_(int _argc, char** _argv);
|
||||
|
||||
int main(int _argc, char** _argv)
|
||||
{
|
||||
return _main_(_argc, _argv);
|
||||
}
|
||||
|
||||
#endif // BX_PLATFORM_OSX
|
1
makefile
1
makefile
@ -11,6 +11,7 @@ all:
|
||||
premake --file=premake/premake4.lua --gcc=mingw gmake
|
||||
premake --file=premake/premake4.lua --gcc=linux gmake
|
||||
premake --file=premake/premake4.lua --gcc=emscripten gmake
|
||||
premake --file=premake/premake4.lua xcode4
|
||||
make -s --no-print-directory -C src
|
||||
|
||||
linux-debug32:
|
||||
|
Loading…
Reference in New Issue
Block a user