From 761ed34cbeea23160b060468e5e3694c8c98c75d Mon Sep 17 00:00:00 2001 From: Daniel Bovensiepen Date: Mon, 30 Apr 2012 14:42:33 +0800 Subject: Add dependency file to 'clean' target --- mrblib/Makefile | 4 ++-- 1 file 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) -- cgit v1.2.3