Manually integrated @gtbass OSX changes.

This commit is contained in:
bkaradzic 2012-12-09 14:51:32 -08:00
parent f85b001272
commit 70fd65501e
3 changed files with 19 additions and 0 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@
.debug/
.svn/
tags
.DS_Store

View 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

View file

@ -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: