From a4f9f32b5ea1cad802c3165651b549f4b5bdfb49 Mon Sep 17 00:00:00 2001 From: drdani Date: Mon, 31 Jan 2000 08:32:30 +0000 Subject: [PATCH] Fix distclean drdani git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@50 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/clean.mk | 5 ++++- support/gc/clean.mk | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/clean.mk b/src/clean.mk index a083e387..bc083764 100644 --- a/src/clean.mk +++ b/src/clean.mk @@ -4,7 +4,10 @@ clean: rm -f *core *[%~] *.[oa] *.output rm -f .[a-z]*~ rm -f $(PRJDIR)/bin/sdcc sdcc - for port in $(PORTS) ; do $(MAKE) -C $$port clean; done; + for port in $(PORTS) ; do\ + $(MAKE) -C $$port -f clean.mk clean ;\ + done + # Deleting all files created by configuring or building the program # ----------------------------------------------------------------- diff --git a/support/gc/clean.mk b/support/gc/clean.mk index 87aceebf..cddcb37a 100644 --- a/support/gc/clean.mk +++ b/support/gc/clean.mk @@ -10,7 +10,7 @@ clean: # ----------------------------------------------------------------- distclean: clean rm -f config.cache config.log config.status - rm -f ddconfig.h main.mk *.dep + rm -f Makefile ddconfig.h *.dep # Like clean but some files may still exist -- 2.30.2