]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Fix a possible race condition introduced with revision 25023
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 10 Feb 2012 00:11:20 +0000 (00:11 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 10 Feb 2012 00:11:20 +0000 (00:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@25027 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/Makefile
deal.II/source/Makefile

index 15d4089a3c8188e506deeeef58e61d73578e98b1..824b3a5435f656f0c273757399f72bd78db84475 100644 (file)
@@ -33,6 +33,10 @@ deps: config.log
          then : ;\
          else rm Makefile.dep && $(MAKE) $(MAKEOPTIONS) Makefile.dep; fi
        @cd lib && $(MAKE) $(MAKEOPTIONS) external-links
+       @mkdir -p lib/debug
+       @mkdir -p lib/optimized
+       @echo Created lib/debug and lib/optimized  directories.
+
 
 
 all: debug optimized
index cb1da1a0f19aedfce10b5bdad370d2bd1f5d9581..4f77885a1d6716405886cbeea5384384300e2728 100644 (file)
@@ -30,18 +30,10 @@ o-files  := $(addprefix $(LIBDIR)/optimized/, $(tmp1:.cc=.$(OBJEXT)) )
 go-files := $(addprefix $(LIBDIR)/debug/, $(tmp1:.cc=.$(OBJEXT)))
 
 
-debug: mkdir-debug $(LIBDIR)/libdeal_II.g$(lib-suffix)
-optimized: mkdir-optimized $(LIBDIR)/libdeal_II$(lib-suffix)
+debug: $(LIBDIR)/libdeal_II.g$(lib-suffix)
+optimized: $(LIBDIR)/libdeal_II$(lib-suffix)
 
 
-mkdir-debug:
-       @mkdir -p "$(LIBDIR)/debug/"
-       @echo Created $(LIBDIR)/debug directory.
-
-mkdir-optimized:
-       @mkdir -p "$(LIBDIR)/optimized/"
-       @echo Created $(LIBDIR)/optimized directory.
-
 
 # rules how to generate object files from source files.
 $(LIBDIR)/debug/%.$(OBJEXT) :
@@ -240,6 +232,7 @@ include $(addsuffix /Makefile.dep, $(all-dirs))
 endif
 
 
+
 ################### some clean-up rules
 
 clean:

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.