summaryrefslogtreecommitdiff
path: root/sdas/asrab/clean.mk
blob: 79b8446078651ddea39359fb9e7490c2fc25669b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Deleting all files created by building the program
# --------------------------------------------------
include $(top_builddir)/Makefile.common

clean: mostlyclean
	rm -f *.dep
	rm -f $(ASOBJECTS) $(OBJDIR)/.stamp
	if [ -d $(OBJDIR) ]; then rmdir $(OBJDIR); fi

# Deleting all files created by configuring or building the program
# -----------------------------------------------------------------
distclean: clean
	rm -f Makefile

# Like clean but some files may still exist
# -----------------------------------------
mostlyclean:
	rm -f *core *[%~] *.[oa]
	rm -f .[a-z]*~
	rm -f $(top_builddir)/bin/sdasrab$(EXEEXT)

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