diff options
| author | Daniel Bovensiepen <[email protected]> | 2012-11-22 20:44:34 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2012-11-22 20:44:34 +0800 |
| commit | a76647ead7d8af214de46a2eb4185b979964c88b (patch) | |
| tree | ad058e04d667f2336dd43e3df5bc30b83eb7f96b | |
| parent | 151521b325c375f84a0c4c19dbf73bae2dd4df7f (diff) | |
| download | mruby-a76647ead7d8af214de46a2eb4185b979964c88b.tar.gz mruby-a76647ead7d8af214de46a2eb4185b979964c88b.zip | |
Clean build documentation for mrbgems a bit more
| -rw-r--r-- | doc/mrbgems/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/mrbgems/README.md b/doc/mrbgems/README.md index 480e034a5..e1de425f1 100644 --- a/doc/mrbgems/README.md +++ b/doc/mrbgems/README.md @@ -33,8 +33,8 @@ All GEMs have to be located under *$(MRUBY_ROOT)/mrbgems/g/*. ## Build process mrbgems will call *make* to build and *make clean* to clean your GEM. You -have to create *gem.a* file during the build process. How you are going -to do this is you decision. +have to build a *gem.a* file during this build process. How you are going +to do this is up to you. To make your build process more easier and more standardized we suggest to include *mrbgems/Makefile4gem* which defines some helper rules. In @@ -99,7 +99,7 @@ classes or add new ones in this way. Put all Ruby files into the *mrblib* folder. The *Makefile* is used for building a Ruby extension. You should define -define *GEM* (GEM name) and *GEM_RB_FILES* (all Ruby files). You can use +*GEM* (GEM name) and *GEM_RB_FILES* (all Ruby files). You can use *gem-rb-files* to build a *gem.a* out of your Ruby code and use *gem-clean-rb-files* to clean the generated C files. |
