[cig-commits] [commit] Hiro_latest: Fix Makefile to use gmake command defined by Makefile (c4a1173)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Tue Jan 28 11:13:49 PST 2014


Repository : ssh://geoshell/calypso

On branch  : Hiro_latest
Link       : https://github.com/geodynamics/calypso/compare/3c548304673360ddedd7d68c8095b3fb74a2b9ce...c4a1173efe5e196ae6c9f3494a66a74b5e60569a

>---------------------------------------------------------------

commit c4a1173efe5e196ae6c9f3494a66a74b5e60569a
Author: Hiroaki Matsui <h_kemono at mac.com>
Date:   Tue Jan 28 11:12:56 2014 -0800

    Fix Makefile to use gmake command defined by Makefile


>---------------------------------------------------------------

c4a1173efe5e196ae6c9f3494a66a74b5e60569a
 Makefile.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 7972fb1..af82f8a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -53,7 +53,7 @@ MAKE_MOD_DEP= $(BUILDDIR)/make_f90depends
 #
 
 all: makemake
-	cd $(MAKEDIR); make
+	cd $(MAKEDIR); $(GMAKE)
 
 $(MAKE_MOD_DEP): $(MHDDIR)/module_dependency/make_module_dependency.f90
 	if [ ! -d $(MAKEDIR) ]; then \
@@ -97,12 +97,12 @@ makemake: $(MAKE_MOD_DEP)
 
 install:
 	cd $(MAKEDIR) ; \
-		make install
+		$(GMAKE) install
 
 clean:
 	for dir in $(MAKEDIR) $(MHDDIR) ; do \
 	echo "# cleaning $${dir} directory..."; \
 		( cd $${dir}; \
-		make clean )\
+		$(GMAKE) clean )\
 	done; \
 	rm -f mpif.h *.o *.mod *~ *.par *.diag *.a *.f90



More information about the CIG-COMMITS mailing list