Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
a9419340
Commit
a9419340
authored
Sep 13, 2012
by
Daniel Bovensiepen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add TODOs to finalize gems
parent
f89e722e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
mrbgems/Makefile
mrbgems/Makefile
+4
-0
mrbgems/init_gems.c
mrbgems/init_gems.c
+2
-0
mrbgems/md5/README.md
mrbgems/md5/README.md
+3
-1
mrblib/Makefile
mrblib/Makefile
+4
-1
No files found.
mrbgems/Makefile
View file @
a9419340
...
...
@@ -12,10 +12,14 @@ CC_FLAGS := -Wall -Werror-implicit-function-declaration -g -O3 -MMD -I. -I./../i
.PHONY
:
all
all
:
$(INIT).o
# @TODO:
# all available GEMS have to be built
$(INIT).o
:
$(INIT).c
gcc
$(CC_FLAGS)
-c
$(INIT)
.c
-o
$(INIT)
.o
@
$(MAKE)
-C
md5
# @TODO:
# all available GEMS have to be cleaned
.PHONY
:
clean
clean
:
$(RM_F)
$(INIT)
.o
$(INIT)
.d
$(LIBRGEMS)
...
...
mrbgems/init_gems.c
View file @
a9419340
...
...
@@ -3,6 +3,8 @@
* initializing methods necessary to
* bootstrap every gem.
*
* @TODO:
* this file has to be generated based on the active gems
*/
#include "mruby.h"
...
...
mrbgems/md5/README.md
View file @
a9419340
mruby-md5
=========
MD5 digest function
MD5 digest function.
This library comes original from mattn (http://github.com/mattn/mruby-md5)
mrblib/Makefile
View file @
a9419340
...
...
@@ -14,6 +14,7 @@ MRB1 := $(BASEDIR)/*.rb
MRBS
:=
$(MRB1)
LIBR0
:=
../lib/libmruby_core.a
LIBR
:=
../lib/libmruby.a
GEM0
:=
../mrbgems/md5/
# libraries, includes
INCLUDES
=
-I
../src
-I
../include
...
...
@@ -52,10 +53,12 @@ endif
.PHONY
:
all
all
:
$(LIBR)
# TODO:
# all available GEMS have to be added to the main library
# update libmruby.a
$(LIBR)
:
$(MLIB) $(LIBR0)
$(CP)
$(LIBR0)
$(LIBR)
$(AR)
rs
$(LIBR)
../mrbgems/md5/md5.o ../mrbgems/md5/
mrb_md5.o ../mrbgems/init_gems.o
$(MLIB)
$(AR)
rs
$(LIBR)
$(GEM0)
md5.o
$(GEM0)
mrb_md5.o ../mrbgems/init_gems.o
$(MLIB)
# Compile mrblib source
$(MLIB)
:
$(CLIB)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment