Commit 42b48fc8 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

all clean targets should remove dependency files properly

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 3825
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 4e519c38
......@@ -54,7 +54,7 @@ edit: flist; vim $<
.PHONY: clean
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist *.o *.a
-/bin/rm -vf flist *.o *.a *.d
#----------------------------------------------------------------------
......
......@@ -66,7 +66,7 @@ edit: flist; vim $<
.PHONY: clean
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist *.o *.a
-/bin/rm -vf flist *.o *.a *.d
CHECKVAR=$(if $($(1)),,$(error ERROR: missing variable $(1)))
CHECKVARS=$(foreach var,$(1),$(call CHECKVAR,$(var)))
......
......@@ -80,6 +80,7 @@ edit: flist; vim $<
.PHONY: clean
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-find . -name \*.d | xargs --no-run-if-empty /bin/rm -v
-find . -name \*.h.strip | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist *.o fapidtest *.a *.so *.xxx
......
......@@ -53,6 +53,7 @@ edit: flist; vim $<
.PHONY: clean
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-find . -name \*.d | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist $(LIBRARIES)
......
......@@ -107,7 +107,11 @@ edit: flist; vim $<
.PHONY: clean
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist *.d *.o */*.o */*.d *.strip */*.strip *.a *.so *.xxx
-find . -name \*.d | xargs --no-run-if-empty /bin/rm -v
-find . -name \*.o | xargs --no-run-if-empty /bin/rm -v
-find . -name \*.strip | xargs --no-run-if-empty /bin/rm -v
-find . -name \*.xxx | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist *.a *.so
#======================================================================
# pattern rules
......
......@@ -67,7 +67,7 @@ edit: flist; vim $<
.PHONY: clean
clean:
-/bin/rm *.o *.bak *.o77 *.f2c.o flist *.a
-/bin/rm *.o *.bak *.o77 *.f2c.o flist *.a *.d
-/bin/rm $(TESTS) $(TESTSX)
# ============================================================================
......
......@@ -109,7 +109,7 @@ edit: flist; vim $<
.PHONY: clean
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -fv flist *.o *.bak *.o77 *.a *.doc
-/bin/rm -fv flist *.o *.bak *.o77 *.a *.doc *.d
#----------------------------------------------------------------------
......
......@@ -65,7 +65,7 @@ reinstall:
.PHONY: clean edit
clean:
-/bin/rm -fv *.o *.bak *.o77 flist *.xxx *.f2c.o *.doc *.a
-/bin/rm -fv *.o *.bak *.o77 flist *.xxx *.f2c.o *.doc *.a *.d
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist testlibtf77 testlibf2ctf testlibtf
......
......@@ -39,6 +39,7 @@ edit: flist; vim $<
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-find . -name \*.o | xargs --no-run-if-empty /bin/rm -v
-find . -name \*.d | xargs --no-run-if-empty /bin/rm -v
-find . -name \*.o77 | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist junk* *.out
-find . -type f -perm +0111 | xargs --no-run-if-empty /bin/rm -v
......
......@@ -65,6 +65,7 @@ edit: flist; vim $<
.PHONY: clean
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-find . -name \*.d | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist
-/bin/rm *.o *.bak *.doc *.o77 *.a
......
......@@ -71,7 +71,7 @@ edit: flist; vim $<
.PHONY: clean
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist *.o *.a *.doc
-/bin/rm -vf flist *.o *.a *.doc *.d
#----------------------------------------------------------------------
# ASCII documentation (Fortran and C code)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment