'N' passed to sub-makes as well.
git-svn-id: https://svn.dealii.org/trunk@1857
0785d39b-7218-0410-832d-
ea1e28bc413d
rm -f *~ include/*~ include/*/*~ lib/lib* lib/o/*.o lib/go/*.go include/base/forward-declarations.h*
lac:
- cd source ; make
+ cd source ; $(MAKE)
source-clean:
- cd source ; make clean
+ cd source ; $(MAKE) clean
-.PHONY: all deal.II
+.PHONY: all
.PHONY: clean source-clean
@touch $@.old
-@cp $@ $@.old > /dev/null 2>&1
@perl $D/common/scripts/Make_forward_declarations.pl $(filter-out %forward-declarations.h,$(h-files)) > $@.new
- @make --silent recursive-make-fwd-decl=1 $@
+ @$(MAKE) --silent recursive-make-fwd-decl=1 $@
@rm $@.old $@.new
else
ifneq (,$(shell diff $(forward-declarations).old $(forward-declarations).new))
# define the action of the targets for the specific subdirectories
$(compile) :
- cd $(@:.compile=) ; make
+ cd $(@:.compile=) ; $(MAKE)
$(run) :
- cd $(@:.run=) ; make run
+ cd $(@:.run=) ; $(MAKE) run
$(clean) :
- -cd $(@:.clean=) ; make clean
+ -cd $(@:.clean=) ; $(MAKE) clean
deal.II:
- cd source ; make
+ cd source ; $(MAKE)
examples:
- cd examples ; make
+ cd examples ; $(MAKE)
lib-clean:
-rm -f *~ include/*~ include/*/*~ include/basic/forward-declarations.h*
- cd lib ; make clean
+ cd lib ; $(MAKE) clean
examples-clean:
- cd examples ; make clean
+ cd examples ; $(MAKE) clean
source-clean:
- cd source ; make clean
+ cd source ; $(MAKE) clean
+
TAGS:
etags include/*/*.h source/*/*.cc
# define the action of the targets for the specific subdirectories
$(compile) :
- cd $(@:.compile=) ; make
+ cd $(@:.compile=) ; $(MAKE)
$(run) :
- cd $(@:.run=) ; make run
+ cd $(@:.run=) ; $(MAKE) run
$(clean) :
- -cd $(@:.clean=) ; make clean
+ -cd $(@:.clean=) ; $(MAKE) 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