File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -256,6 +256,8 @@ pdfdoc: doc/cilpp.tex
256256
257257.PHONY : distclean cleandoc cleancilly clean
258258distclean : clean
259+ $(MAKE ) -C test distclean
260+ rm -rf autom4te.cache/
259261 rm -f Makefile
260262 rm -f $(CILLYDIR ) /App/Cilly/CilConfig.pm
261263 rm -f config.h
@@ -276,6 +278,9 @@ clean: $(CILLYDIR)/Makefile
276278 rm -rf $(OBJDIR )
277279 rm -f $(BINDIR ) /$(CILLY ) .*
278280 rm -rf doc/html/
281+ rm -rf doc/cilcode.tmp/
282+ rm -f doc/cil.version.*
283+ rm -f doc/cilpp.*
279284 $(MAKE ) -C $(CILLYDIR ) clean
280285 rm -f $(CILLYDIR ) /App/Cilly.pm
281286 rm -f $(CILLYDIR ) /Makefile.old
Original file line number Diff line number Diff line change @@ -26,18 +26,25 @@ clean:
2626 -name ' *.a' -o \
2727 -name ' *.stackdump' -o \
2828 -name ' *.exe' -o \
29- -name ' *.i' -o \
29+ \( -name ' *.i' -a -not -name ' lineno.i' -a -not -name ' empty.i' \) -o \
30+ -name ' *.cmi' -o \
31+ -name ' *.cmo' -o \
32+ -name ' *.err' -o \
33+ -name ' *.out' -o \
3034 -name ' *_ppp.c' -o \
3135 -name ' *.origi' -o \
3236 -name ' *.o' -o \
3337 -name ' *.obj' -o \
3438 -name ' *.cabs.c' -o \
3539 -name " *-tmp.c" -o \
3640 -name ' *_comb*.c' -o \
37- -name ' libmerge.a*' \
41+ -name ' libmerge.a*' -o \
42+ -name ' merge-ar' \
3843 \) -exec rm -f {} \;
3944 -find . -name ' *.browser' -exec rm -rf {} \;
4045
46+ distclean : clean
47+ rm -f cil.log*
4148
4249CILHOME := $(CURDIR ) /..
4350CILLY := $(CILHOME ) /bin/cilly
You can’t perform that action at this time.
0 commit comments