From ea86c01a86230a5bb01c69b97875f422fd333651 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Thu, 14 Apr 2016 21:10:57 +0200 Subject: [PATCH] Fixed markdown formatting in porting README for doxygen output. The underscores and the newlines for the list were lost before. --- docs/README-porting.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/README-porting.md b/docs/README-porting.md index f13f83b8ced8b..f06f274546e52 100644 --- a/docs/README-porting.md +++ b/docs/README-porting.md @@ -1,11 +1,11 @@ -Porting -======= +Porting +======= * Porting To A New Platform The first thing you have to do when porting to a new platform, is look at include/SDL_platform.h and create an entry there for your operating system. -The standard format is __PLATFORM__, where PLATFORM is the name of the OS. +The standard format is "__PLATFORM__", where PLATFORM is the name of the OS. Ideally SDL_platform.h will be able to auto-detect the system it's building on based on C preprocessor symbols. @@ -15,7 +15,9 @@ There are two basic ways of building SDL at the moment: If you have a GNUish system, then you might try this. Edit configure.in, take a look at the large section labelled: + "Set up the configuration based on the host platform!" + Add a section for your platform, and then re-run autogen.sh and build! 2. Using an IDE: @@ -27,6 +29,7 @@ There are two basic ways of building SDL at the moment: Add the top level include directory to the header search path, and then add the following sources to the project: + src/*.c src/atomic/*.c src/audio/*.c