summaryrefslogtreecommitdiff
path: root/support/scripts/clean.mk
diff options
context:
space:
mode:
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