summaryrefslogtreecommitdiff
path: root/support/scripts/clean.mk
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
committerXavier ASUS <xavi92psx@gmail.com>2019-10-18 00:31:54 +0200
commit268a53de823a6750d6256ee1fb1e7707b4b45740 (patch)
tree42c1799a9a82b2f7d9790ee9fe181d72a7274751 /support/scripts/clean.mk
downloadsdcc-gas-268a53de823a6750d6256ee1fb1e7707b4b45740.tar.gz
sdcc-3.9.0 fork implementing GNU assembler syntax
This fork aims to provide better support for stm8-binutils
Diffstat (limited to 'support/scripts/clean.mk')
-rw-r--r--support/scripts/clean.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/support/scripts/clean.mk b/support/scripts/clean.mk
new file mode 100644
index 0000000..503dc67
--- /dev/null
+++ b/support/scripts/clean.mk
@@ -0,0 +1,22 @@
+# Deleting all files created by building the program
+# --------------------------------------------------
+clean:
+ rm -rf obj
+ rm -f *core *[%~] *.[oa] $(top_builddir)/bin/makebin$(EXEEXT)
+ rm -f *.[a-z]*~
+
+# Deleting all files created by configuring or building the program
+# -----------------------------------------------------------------
+distclean: clean
+ rm -f Makefile *.dep
+
+
+# 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