From b8504c48aa39dcdca07e146d40d909bc52a4a73d Mon Sep 17 00:00:00 2001 From: Andelf Date: Wed, 16 Apr 2014 19:37:05 +0800 Subject: [PATCH] add note to README --- README.md | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 66a6159a..11a6cec9 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,17 @@ -Rust-SDL2_gfx -=============== +# Rust-SDL2_gfx [![Build Status](https://travis-ci.org/andelf/rust-sdl2_gfx.svg?branch=master)](https://travis-ci.org/andelf/rust-sdl2_gfx) [![Build Status](https://drone.io/github.com/andelf/rust-sdl2_gfx/status.png)](https://drone.io/github.com/andelf/rust-sdl2_gfx/latest) Rust bindings for SDL2_gfx -Requirements ------------- +## Requirements -* [Rust-sdl2](https://github.com/AngryLawyer/rust-sdl2) or [My Fork](https://github.com/andelf/rust-sdl2) -* sdl2_gfx development libraries -* Rust master +* [Rust-SDL2](https://github.com/AngryLawyer/rust-sdl2) or [My Fork](https://github.com/andelf/rust-sdl2) +* [SDL2_gfx](http://sourceforge.net/projects/sdl2gfx/) development libraries +* Rust master or nightly -Installation ------------- +## Installation ``` # compile your rust-sdl2 somewhere @@ -23,8 +20,9 @@ cd rust-sdl2_gfx rustc -L. src/sdl2_gfx/lib.rs ``` -Demo ----- + NOTE: sdl2_gfx doesn't support mac_framework. + +## Demo ``` rustc -L. src/demo/gfx_demo.rs