aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.extr
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-01-16 15:59:08 +0100
committerBernhard Schommer <bernhardschommer@gmail.com>2015-01-16 15:59:08 +0100
commitb3f8438c6224f537ba7a84580f432c40a63a481c (patch)
tree164ad6a1fc64cc18b1bc28a2b72b7741fe59a20f /Makefile.extr
parent5fc6c02e6c815f9ba3348ddc49b5b1d7563ec35c (diff)
downloadcompcert-b3f8438c6224f537ba7a84580f432c40a63a481c.tar.gz
compcert-b3f8438c6224f537ba7a84580f432c40a63a481c.zip
Added new target to just remove the cm[iox] files and the build executables.
Diffstat (limited to 'Makefile.extr')
-rw-r--r--Makefile.extr4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.extr b/Makefile.extr
index 70b0cb67..2d429f76 100644
--- a/Makefile.extr
+++ b/Makefile.extr
@@ -156,6 +156,10 @@ clean:
rm -f $(GENERATED)
for d in $(ALLDIRS); do rm -f $$d/*.cm[iox] $$d/*.o; done
+cleansource:
+ rm -f $(EXECUTABLES)
+ for d in $(ALLDIRS); do rm -f $$d/*.cm[iox] $$d/*.o; done
+
# Generation of .depend.extr
depend: $(GENERATED)