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

new clean target

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: 1823
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 30cce3a3
# this is <Makefile> # this is <Makefile>
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
# $Id: Makefile,v 1.2 2005-07-05 08:21:10 tforb Exp $ # $Id: Makefile,v 1.3 2005-07-05 16:23:48 tforb Exp $
# #
# Copyright (c) 2005 by Thomas Forbriger (BFO Schiltach) # Copyright (c) 2005 by Thomas Forbriger (BFO Schiltach)
# #
...@@ -35,6 +35,7 @@ LIBDIRS=libaff \ ...@@ -35,6 +35,7 @@ LIBDIRS=libaff \
# misc # misc
TARGETS=$(addsuffix .install,$(LIBDIRS)) TARGETS=$(addsuffix .install,$(LIBDIRS))
CLEANTARGETS=$(addsuffix .clean,$(LIBDIRS))
all: $(TARGETS) all: $(TARGETS)
show: ; @echo $(TARGETS) show: ; @echo $(TARGETS)
...@@ -46,10 +47,11 @@ flist: $(shell find . -name Makefile) ...@@ -46,10 +47,11 @@ flist: $(shell find . -name Makefile)
edit: flist; vim $< edit: flist; vim $<
.PHONY: clean .PHONY: clean
clean: ; clean: $(CLEANTARGETS) ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v -find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist -/bin/rm -vf flist
%.install: %; cd $<; $(MAKE) install %.install: %; cd $<; $(MAKE) install
%.clean: %; cd $<; $(MAKE) clean
# ----- END OF Makefile ----- # ----- END OF Makefile -----
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