Files
mruby-mruby/Makefile
T
unak 8ee5b0196b .PHONY should be placed after `all'
Because some make (e.g. nmake) recognize it as a normal rule definition and if it's the first rule, make runs it as a default rule.
Consequently `all', `test' and `clean' are all ran (because they are depended by .PHONY), and builded files are cleaned.
2014-03-07 12:11:10 +09:00

18 lines
278 B
Makefile

# mruby is using Rake (http://rake.rubyforge.org) as a build tool.
# We provide a minimalistic version called minirake inside of our
# codebase.
RAKE = ruby ./minirake
all :
$(RAKE)
.PHONY : all
test : all
$(RAKE) test
.PHONY : test
clean :
$(RAKE) clean
.PHONY : clean