summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDaniel Bovensiepen <[email protected]>2012-04-30 14:42:33 +0800
committerDaniel Bovensiepen <[email protected]>2012-04-30 14:42:33 +0800
commit761ed34cbeea23160b060468e5e3694c8c98c75d (patch)
tree74a2ac2b85e91e75060aa4f6c480fd582342b457
parentdb999237bc0f9d8e9aed5f22f41b780884ceb6b8 (diff)
downloadmruby-761ed34cbeea23160b060468e5e3694c8c98c75d.tar.gz
mruby-761ed34cbeea23160b060468e5e3694c8c98c75d.zip
Add dependency file to 'clean' target
-rw-r--r--mrblib/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/mrblib/Makefile b/mrblib/Makefile
index ea08ca1ec..8f4787e6e 100644
--- a/mrblib/Makefile
+++ b/mrblib/Makefile
@@ -9,6 +9,7 @@ MLIB := $(TARGET).o
CLIB := $(TARGET).c
DLIB := $(TARGET).ctmp
RLIB := $(TARGET).rbtmp
+DEPLIB := $(TARGET).d
MRB1 := $(BASEDIR)/*.rb
MRBS := $(MRB1)
@@ -62,6 +63,5 @@ $(RLIB) : $(MRBS)
.PHONY : clean
clean :
@echo "make: removing targets, objects and depend files of `pwd`"
- -rm -f $(MRBC) $(MLIB) $(CLIB) $(RLIB) $(DLIB)
- -rm -f $(OBJS:.o=.d)
+ -rm -f $(MRBC) $(MLIB) $(CLIB) $(RLIB) $(DLIB) $(DEPLIB)