Commit 6c56aa42 authored by Marco Govoni's avatar Marco Govoni
Browse files

Missing commit.

parent c96ec563
......@@ -40,4 +40,3 @@ title :
@echo "##############"
@echo " "
include make.depend
......@@ -2,18 +2,28 @@
default: all
all: json_do
all: title json_do
json_do:
if test -d Json ; then \
( cd Json ; if test "$(MAKE)" = "" ; then make $(MFLAGS) all; \
else $(MAKE) $(MFLAGS) all ; fi ) ; fi
clean: json_undo
clean: json_undo rmlib
json_undo:
if test -d Json ; then \
( cd Json ; if test "$(MAKE)" = "" ; then make clean ; \
else $(MAKE) clean ; fi ) ; fi
rmlib :
/bin/rm -f libjson.a
distclean: clean
title :
@echo " "
@echo "##############"
@echo "## Libraries #"
@echo "##############"
@echo " "
......@@ -2,7 +2,9 @@
default: all
all: modules_do \
all: \
libraries_do \
modules_do \
tools_do \
fft_kernel_do \
coulomb_kernel_do \
......@@ -15,6 +17,11 @@ wfreq_do \
westpp_do
libraries_do:
if test -d Libraries ; then \
( cd Libraries ; if test "$(MAKE)" = "" ; then make $(MFLAGS) all; \
else $(MAKE) $(MFLAGS) all ; fi ) ; fi
modules_do:
if test -d Modules ; then \
( cd Modules ; sh update_west_version; if test "$(MAKE)" = "" ; then make $(MFLAGS) all; \
......@@ -70,7 +77,9 @@ westpp_do:
( cd Westpp ; if test "$(MAKE)" = "" ; then make $(MFLAGS) all; \
else $(MAKE) $(MFLAGS) all ; fi ) ; fi
clean: modules_undo \
clean: \
libraries_undo \
modules_undo \
tools_undo \
fft_kernel_undo \
coulomb_kernel_undo \
......@@ -82,6 +91,11 @@ wstat_undo \
wfreq_undo \
westpp_undo
libraries_undo:
if test -d Libraries ; then \
( cd Libraries ; if test "$(MAKE)" = "" ; then make clean ; \
else $(MAKE) clean ; fi ) ; fi
modules_undo:
if test -d Modules ; then \
( cd Modules ; if test "$(MAKE)" = "" ; then make clean ; \
......
Markdown is supported
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