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
660eb545
Commit
660eb545
authored
Nov 23, 2012
by
Daniel Bovensiepen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Respect dynamic GEMS.active file in mrbgems/Makefile4gem
parent
755938aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
mrbgems/Makefile4gem
mrbgems/Makefile4gem
+9
-4
No files found.
mrbgems/Makefile4gem
View file @
660eb545
...
...
@@ -26,6 +26,11 @@ endif
GEM_PACKAGE := mrb-$(GEM)-gem.a
ifeq ($(strip $(ACTIVE_GEMS)),)
# the default file which contains the active GEMs
ACTIVE_GEMS = GEMS.active
endif
# Default rules which are calling the
# gem specific gem-all and gem-clean
# implementations of a gem
...
...
@@ -44,14 +49,14 @@ gem_mixlib.c : gem_mrblib_header.ctmp gem_mrblib_irep.ctmp gem_mixlib_init.ctmp
cat $^ > $@
gem_mixlib_init.ctmp :
$(MRUBY_ROOT)mrbgems/generator gem_mixlib $(GEM) > $@
$(MRUBY_ROOT)mrbgems/generator gem_mixlib $(GEM)
"$(ACTIVE_GEMS)"
> $@
# Building target for C files
gem-c-files : gem_srclib.o
$(AR) rs $(GEM_PACKAGE) $(GEM_OBJECTS) $<
gem_srclib.c :
$(MRUBY_ROOT)mrbgems/generator gem_srclib $(GEM) > $@
$(MRUBY_ROOT)mrbgems/generator gem_srclib $(GEM)
"$(ACTIVE_GEMS)"
> $@
# Building target for Ruby Files
gem-rb-files : gem_mrblib.o
...
...
@@ -61,10 +66,10 @@ gem_mrblib.c : gem_mrblib_header.ctmp gem_mrblib_irep.ctmp gem_mrblib_init.ctmp
cat $^ > $@
gem_mrblib_header.ctmp :
$(MRUBY_ROOT)mrbgems/generator gem_mrblib > $@
$(MRUBY_ROOT)mrbgems/generator gem_mrblib
"$(ACTIVE_GEMS)"
> $@
gem_mrblib_init.ctmp :
$(MRUBY_ROOT)mrbgems/generator gem_mrblib $(GEM) > $@
$(MRUBY_ROOT)mrbgems/generator gem_mrblib $(GEM)
"$(ACTIVE_GEMS)"
> $@
gem_mrblib_irep.ctmp : gem_mrblib.rbtmp
$(MRUBY_ROOT)bin/mrbc -Bgem_mrblib_irep_$(GEM) -o$@ $<
...
...
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