1.1 --- a/docs/README-porting.md Thu Apr 14 21:10:08 2016 +0200
1.2 +++ b/docs/README-porting.md Thu Apr 14 21:10:57 2016 +0200
1.3 @@ -1,11 +1,11 @@
1.4 -Porting
1.5 -=======
1.6 +Porting
1.7 +=======
1.8
1.9 * Porting To A New Platform
1.10
1.11 The first thing you have to do when porting to a new platform, is look at
1.12 include/SDL_platform.h and create an entry there for your operating system.
1.13 -The standard format is __PLATFORM__, where PLATFORM is the name of the OS.
1.14 +The standard format is "__PLATFORM__", where PLATFORM is the name of the OS.
1.15 Ideally SDL_platform.h will be able to auto-detect the system it's building
1.16 on based on C preprocessor symbols.
1.17
1.18 @@ -15,7 +15,9 @@
1.19
1.20 If you have a GNUish system, then you might try this. Edit configure.in,
1.21 take a look at the large section labelled:
1.22 +
1.23 "Set up the configuration based on the host platform!"
1.24 +
1.25 Add a section for your platform, and then re-run autogen.sh and build!
1.26
1.27 2. Using an IDE:
1.28 @@ -27,6 +29,7 @@
1.29
1.30 Add the top level include directory to the header search path, and then add
1.31 the following sources to the project:
1.32 +
1.33 src/*.c
1.34 src/atomic/*.c
1.35 src/audio/*.c