mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Added removal of .d files to 'clean' rule.
svn path=/trunk/; revision=4795
This commit is contained in:
parent
66080da575
commit
d5d6a165bd
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $Id: helper.mk,v 1.36 2003/05/05 19:59:21 chorns Exp $
|
# $Id: helper.mk,v 1.37 2003/05/29 08:50:23 ekohl Exp $
|
||||||
#
|
#
|
||||||
# Helper makefile for ReactOS modules
|
# Helper makefile for ReactOS modules
|
||||||
# Variables this makefile accepts:
|
# Variables this makefile accepts:
|
||||||
|
@ -686,10 +686,12 @@ endif
|
||||||
|
|
||||||
# Be carefull not to clean non-object files
|
# Be carefull not to clean non-object files
|
||||||
MK_CLEANFILES := $(filter %.o,$(MK_OBJECTS))
|
MK_CLEANFILES := $(filter %.o,$(MK_OBJECTS))
|
||||||
|
MK_CLEANFILTERED := $(MK_OBJECTS:.o=.d)
|
||||||
|
MK_CLEANDEPS := $(join $(dir $(MK_CLEANFILTERED)), $(addprefix ., $(notdir $(MK_CLEANFILTERED))))
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
- $(RM) *.o depend.d *.pch $(MK_BASENAME).sym $(MK_BASENAME).a $(TARGET_PATH)/$(MK_RES_BASE).coff \
|
- $(RM) *.o depend.d *.pch $(MK_BASENAME).sym $(MK_BASENAME).a $(TARGET_PATH)/$(MK_RES_BASE).coff \
|
||||||
$(MK_FULLNAME) $(MK_NOSTRIPNAME) $(MK_CLEANFILES) \
|
$(MK_FULLNAME) $(MK_NOSTRIPNAME) $(MK_CLEANFILES) $(MK_CLEANDEPS) \
|
||||||
junk.tmp base.tmp temp.exp \
|
junk.tmp base.tmp temp.exp \
|
||||||
$(TARGET_CLEAN)
|
$(TARGET_CLEAN)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue