]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Finish the _clean_ rules for the new directory structure.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 11 Feb 2002 09:39:44 +0000 (09:39 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 11 Feb 2002 09:39:44 +0000 (09:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@5490 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/Makefile
deal.II/base/Makefile
deal.II/common/scripts/make_dependencies.pl
deal.II/deal.II/Makefile
deal.II/lac/Makefile
deal.II/lib/Makefile [new file with mode: 0644]

index 1ae508ab53eae458c80bddadc6180fa84f575733..80e255cb807b08db134f38c62901ab740b4c8580 100644 (file)
@@ -148,7 +148,7 @@ clean-examples:
        cd $D/examples ; $(MAKE) clean
 
 clean-lib:
-       -rm $(LIBDIR)/lib*
+       cd $D/lib ; $(MAKE) clean
 
 # if that directory exists, go into 'tests' and clean up there as well
 clean-tests:
index 09415938116f7032b5148444b874b0fca740610e..cf452ae929c13b634fa95c85c9ea20eded2be605 100644 (file)
@@ -1,5 +1,5 @@
 # $Id$
-# Copyright W. Bangerth, University of Heidelberg, 1998, 1999
+# Copyright W. Bangerth, University of Heidelberg, 1998, 1999, 2000, 2001, 2002
 
 
 
index fdcdb08891c2e42132f8ba55363c8b1edc8b9981..23bb1a8bbccefc2021ebb358c3feb0780af5ffbe 100644 (file)
@@ -1,19 +1,22 @@
 # $Id$
-# Copyright W. Bangerth, University of Heidelberg, 1998
+# Copyright W. Bangerth, University of Heidelberg, 1998, 1999, 2000, 2001, 2002
 
 
-#Make a dependency file tree
-#usage: make_dep -Iinc_path1 -Iinc_path2 ... -Bbasepath files
+# Make a dependency file tree
+# usage: make_dep -Iinc_path1 -Iinc_path2 ... -Bbasepath files
 
-#This program makes for each of the given files a makefile dependency
-#list, also considering nested includes. It only considers included
-#files which are located in the given include pathes (you can give any
-#number of pathes). The output looks like this:
+# This program makes for each of the given files a makefile dependency
+# list, also considering nested includes. It only considers included
+# files which are located in the given include pathes (you can give any
+# number of pathes). The output looks like this:
 #
-#lib/o/.o-file: file included_files
-#lib/go/.g.o-file: file included_files
+#   $basepath/.o-file: file included_files
+#   $basepath/.g.o-file: file included_files
+#
+# $basepath is the dir where the object files are to be placed (as
+# given by the -B parameter to this script)
 
-#Author: Wolfgang Bangerth, 1998, 1999, 2000, 2001, 2002
+# Author: Wolfgang Bangerth, 1998, 1999, 2000, 2001, 2002
 
 
 
index a9d0634b34d441301d2bf2d83d115519e93fe9a5..58fc4fa56bd29c22e73c68e885881395f27b3f21 100644 (file)
@@ -1,5 +1,5 @@
 # $Id$
-# Copyright W. Bangerth, University of Heidelberg, 1998, 1999
+# Copyright W. Bangerth, University of Heidelberg, 1998, 1999, 2000, 2001, 2002
 
 
 # deal.II top level directory
index 2fd841f0cfa8b925c729b782fc12f83e0043179d..a1bf983b752c3eeb04d9beaa3dc9c6eb6f92b826 100644 (file)
@@ -1,5 +1,5 @@
 # $Id$
-# Copyright W. Bangerth, University of Heidelberg, 1998, 1999
+# Copyright W. Bangerth, University of Heidelberg, 1998, 1999, 2000, 2001, 2002
 
 
 # deal.II top level directory
diff --git a/deal.II/lib/Makefile b/deal.II/lib/Makefile
new file mode 100644 (file)
index 0000000..15747e8
--- /dev/null
@@ -0,0 +1,23 @@
+# $Id$
+# Copyright W. Bangerth, University of Heidelberg, 2002
+
+
+default:
+       @echo There is no default target in this directory
+
+
+# clean everything
+clean: clean-objects
+       -rm lib*
+
+# only clean object files, not libraries
+clean-objects: clean-base clean-lac clean-1d clean-2d clean-3d
+
+
+# clean targets for the individual subdirectories.
+# extract dir name from target
+clean-%:
+       -cd $(@:clean-%=%) ; rm *.o
+
+
+.PHONY: clean clean-objects clean-base clean-lac clean-1d clean-2d clean-3d

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.