summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-04-22 16:45:29 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-04-22 16:45:29 -0700
commit484a5f6779abd752fb95f107dec6fa79465f52c7 (patch)
tree0e6ad709c6944eb9e36f41560df888680c036bb4 /Makefile
parenta639479c2731e7167887dcbb71208449f1a80923 (diff)
parentf9d4a5a02b206a2020738ce09049d2a220ebe1d4 (diff)
downloadmruby-484a5f6779abd752fb95f107dec6fa79465f52c7.tar.gz
mruby-484a5f6779abd752fb95f107dec6fa79465f52c7.zip
Merge pull request #39 from MobiRuby/make_clean
Fixed to forget to remove some files on 'make clean'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 76f4ef594..55988683b 100644
--- a/Makefile
+++ b/Makefile
@@ -113,8 +113,10 @@ $(OBJM) : $(MSRC)
.PHONY : clean
clean :
$(MAKE) clean -C src $(MAKE_FLAGS)
+ $(MAKE) clean -C tools/mrbc $(MAKE_FLAGS)
$(MAKE) clean -C tools/mruby $(MAKE_FLAGS)
-rm -f $(EXE) $(OBJM)
-rm -f $(OBJM:.o=.d)
+ -rm -f $(patsubst %.c,%.o,$(EXCEPT1)) $(patsubst %.c,%.d,$(EXCEPT1))
-rm -f $(IOSLIB) $(IOSSIMLIB) $(IOSDEVLIB)
@echo "make: removing targets, objects and depend files of `pwd`"