Add syntax highlighting to readme file

Add syntax highlighting to readme file
This commit is contained in:
Crayon 2018-03-01 19:57:34 -05:00 committed by GitHub
parent dacc8044c6
commit 413394095b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
## Usage ## Usage
Following steps are required for initialization: Following steps are required for initialization:
``` ```C
InitOSFunctionPointers(); // Load OS functions InitOSFunctionPointers(); // Load OS functions
InitPadScoreFunctionPointers(); InitPadScoreFunctionPointers();
InitVPadFunctionPointers(); // Input functions for GUI control InitVPadFunctionPointers(); // Input functions for GUI control
@ -21,13 +21,13 @@ unmount_sd_fat("sd");
``` ```
Link the application with: Link the application with:
``` ```Makefile
-lgui -lutils -ldynamiclibs -lfreetype -lgd -lpng -ljpeg -lz -lmad -lvorbisidec -lgui -lutils -ldynamiclibs -lfreetype -lgd -lpng -ljpeg -lz -lmad -lvorbisidec
``` ```
You also need to add the include path to your Makefile. Example: You also need to add the include path to your Makefile. Example:
``` ```Makefile
export INCLUDE := [...] -I$(PORTLIBS)/include/freetype2 \ export INCLUDE := [...] -I$(PORTLIBS)/include/freetype2 \
-I$(PORTLIBS)/include/libgui \ -I$(PORTLIBS)/include/libgui \
-I$(PORTLIBS)/include -I$(PORTLIBS)/include