aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Pottier <francois.pottier@inria.fr>2015-10-23 13:51:12 +0200
committerFrançois Pottier <francois.pottier@inria.fr>2015-10-23 13:51:12 +0200
commit08575b87304810f6c1a75ab10186636836b57613 (patch)
tree9cc8492952f93ab590ebbc746b28427ad026405f
parentdd95046b3d6bb6603529e20f2d15b14fe4144a94 (diff)
downloadcompcert-kvx-08575b87304810f6c1a75ab10186636836b57613.tar.gz
compcert-kvx-08575b87304810f6c1a75ab10186636836b57613.zip
Added a few cleanup commands in [make clean].
-rw-r--r--Makefile.extr3
-rw-r--r--cparser/GNUmakefile2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.extr b/Makefile.extr
index fce0d933..4e2549cc 100644
--- a/Makefile.extr
+++ b/Makefile.extr
@@ -165,7 +165,8 @@ clean:
rm -f $(EXECUTABLES)
rm -f $(GENERATED)
for d in $(ALLDIRS); do rm -f $$d/*.cm[iox] $$d/*.o; done
- rm -f cparser/pre_parser.automaton backend/CMparser.automaton
+ rm -f backend/CMparser.automaton
+ $(MAKE) -C cparser clean
# Generation of .depend.extr
diff --git a/cparser/GNUmakefile b/cparser/GNUmakefile
index 6c1df250..d08ef178 100644
--- a/cparser/GNUmakefile
+++ b/cparser/GNUmakefile
@@ -170,6 +170,6 @@ clean:
rm -f pre_parser.automaton
rm -f pre_parser.conflicts
rm -f pre_parser.messages
- rm -f $(DATABASE).raw
+ rm -f $(DATABASE).raw $(DATABASE).bak
rm -f deLexer