clean.mk 814 Bytes
Newer Older
1
clean:
2
	rm -rf $(MANUAL).html $(TSS).html $(CDB).html
3 4
	rm -rf $(MANUAL).txt $(TSS).txt $(CDB).txt \
		*.pdf *.tex *.aux *.dvi *.idx *.ilg *.out\
5
		*.ind *.log *.toc *~ \#* *.ps */*.css */*.pl *.gif core *.glo *.eps
6
	rm -rf sdcc-doc sdcc-doc.tar.bz2
7
	if [ "$(srcdir)" != "." ]; then rm -f *.lyx; fi
8

9 10 11
# Deleting all files created by configuring or building the program
# -----------------------------------------------------------------
distclean: clean
12
	rm -f Makefile
13

14 15 16 17 18 19 20 21
# Like clean but some files may still exist
# -----------------------------------------
mostlyclean: clean

# Deleting everything that can reconstructed by this Makefile. It deletes
# everything deleted by distclean plus files created by bison, etc.
# -----------------------------------------------------------------------
realclean: distclean