summaryrefslogtreecommitdiff
path: root/bin/MakeProjectCreator/templates/gnu.mpd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/MakeProjectCreator/templates/gnu.mpd')
-rw-r--r--bin/MakeProjectCreator/templates/gnu.mpd4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/MakeProjectCreator/templates/gnu.mpd b/bin/MakeProjectCreator/templates/gnu.mpd
index 488b6d589dc..bb3cff3f181 100644
--- a/bin/MakeProjectCreator/templates/gnu.mpd
+++ b/bin/MakeProjectCreator/templates/gnu.mpd
@@ -305,8 +305,10 @@ realclean: clean <%compclean%>
<%if(idl_files)%>
-$(RM) $(foreach ext, $(IDL_EXT), $(foreach file, $(IDL_FILES), $(file)$(ext)))
<%endif%>
+<%if(custom_types)%>
ifneq ($(GENERATED_DIRTY),)
- -$(RM) $(GENERATED_DIRTY)
+ -$(RM) -r $(GENERATED_DIRTY)
endif
+<%endif%>
<%marker(bottom)%>