Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed the Makefiles for ms2gt to accept environment override

  • Loading branch information...
commit 48647def3dfd479b8117d6e9297e8b5037571a83 1 parent 5fa2f4e
@davidh-ssec authored
View
28 ms2gt/Makefile
@@ -80,20 +80,20 @@ TUTLDIR = $(TIDLDIR)/modis_utils
#
# commands
#
-SHELL = /bin/sh
-CC = cc
-AR = ar
-RANLIB = touch
-CO = co
-MAKEDEPEND = makedepend
-INSTALL = cp
-CP = cp
-CD = cd
-RM = rm -f
-RMDIR = rm -fr
-MKDIR = mkdir -p
-TAR = tar
-COMPRESS = gzip
+SHELL ?= /bin/sh
+CC ?= cc
+AR ?= ar
+RANLIB ?= touch
+CO ?= co
+MAKEDEPEND ?= makedepend
+INSTALL ?= cp
+CP ?= cp
+CD ?= cd
+RM ?= rm -f
+RMDIR ?= rm -fr
+MKDIR ?= mkdir -p
+TAR ?= tar
+COMPRESS ?= gzip
#
# archive file name
View
28 ms2gt/src/Makefile
@@ -39,20 +39,20 @@ UTLDIR = $(IDLDIR)/modis_utils
#
# commands
#
-SHELL = /bin/sh
-CC = cc
-AR = ar
-RANLIB = touch
-CO = co
-MAKEDEPEND = makedepend
-INSTALL = cp
-CP = cp
-CD = cd
-RM = rm -f
-RMDIR = rm -fr
-MKDIR = mkdir -p
-TAR = tar
-COMPRESS = gzip
+SHELL ?= /bin/sh
+CC ?= cc
+AR ?= ar
+RANLIB ?= touch
+CO ?= co
+MAKEDEPEND ?= makedepend
+INSTALL ?= cp
+CP ?= cp
+CD ?= cd
+RM ?= rm -f
+RMDIR ?= rm -fr
+MKDIR ?= mkdir -p
+TAR ?= tar
+COMPRESS ?= gzip
#
# debug or optimization settings
View
22 ms2gt/src/fornav/Makefile
@@ -18,17 +18,17 @@ BINDIR = $(TOPDIR)/bin
#
# commands
#
-SHELL = /bin/sh
-CC = cc
-AR = ar
-RANLIB = touch
-CO = co
-MAKEDEPEND = makedepend
-INSTALL = cp
-CP = cp
-RM = rm -f
-TAR = tar
-COMPRESS = gzip
+SHELL ?= /bin/sh
+CC ?= cc
+AR ?= ar
+RANLIB ?= touch
+CO ?= co
+MAKEDEPEND ?= makedepend
+INSTALL ?= cp
+CP ?= cp
+RM ?= rm -f
+TAR ?= tar
+COMPRESS ?= gzip
#
# archive file name
View
16 ms2gt/src/grid_convert/Makefile
@@ -19,14 +19,14 @@ BINDIR = $(TOPDIR)/bin
#
# commands
#
-SHELL = /bin/sh
-CC = cc
-CO = co
-MAKEDEPEND = makedepend
-INSTALL = cp
-RM = rm -f
-TAR = tar
-COMPRESS = gzip
+SHELL ?= /bin/sh
+CC ?= cc
+CO ?= co
+MAKEDEPEND ?= makedepend
+INSTALL ?= cp
+RM ?= rm -f
+TAR ?= tar
+COMPRESS ?= gzip
#
# archive file name
View
16 ms2gt/src/gridsize/Makefile
@@ -19,14 +19,14 @@ BINDIR = $(TOPDIR)/bin
#
# commands
#
-SHELL = /bin/sh
-CC = cc
-CO = co
-MAKEDEPEND = makedepend
-INSTALL = cp
-RM = rm -f
-TAR = tar
-COMPRESS = gzip
+SHELL ?= /bin/sh
+CC ?= cc
+CO ?= co
+MAKEDEPEND ?= makedepend
+INSTALL ?= cp
+RM ?= rm -f
+TAR ?= tar
+COMPRESS ?= gzip
#
# archive file name
View
16 ms2gt/src/ll2cr/Makefile
@@ -19,14 +19,14 @@ BINDIR = $(TOPDIR)/bin
#
# commands
#
-SHELL = /bin/sh
-CC = cc
-CO = co
-MAKEDEPEND = makedepend
-INSTALL = cp
-RM = rm -f
-TAR = tar
-COMPRESS = gzip
+SHELL ?= /bin/sh
+CC ?= cc
+CO ?= co
+MAKEDEPEND ?= makedepend
+INSTALL ?= cp
+RM ?= rm -f
+TAR ?= tar
+COMPRESS ?= gzip
#
# archive file name
View
16 ms2gt/src/ll2xy/Makefile
@@ -19,14 +19,14 @@ BINDIR = $(TOPDIR)/bin
#
# commands
#
-SHELL = /bin/sh
-CC = cc
-CO = co
-MAKEDEPEND = makedepend
-INSTALL = cp
-RM = rm -f
-TAR = tar
-COMPRESS = gzip
+SHELL ?= /bin/sh
+CC ?= cc
+CO ?= co
+MAKEDEPEND ?= makedepend
+INSTALL ?= cp
+RM ?= rm -f
+TAR ?= tar
+COMPRESS ?= gzip
#
# archive file name
View
16 ms2gt/src/lle2cre/Makefile
@@ -19,14 +19,14 @@ BINDIR = $(TOPDIR)/bin
#
# commands
#
-SHELL = /bin/sh
-CC = cc
-CO = co
-MAKEDEPEND = makedepend
-INSTALL = cp
-RM = rm -f
-TAR = tar
-COMPRESS = gzip
+SHELL ?= /bin/sh
+CC ?= cc
+CO ?= co
+MAKEDEPEND ?= makedepend
+INSTALL ?= cp
+RM ?= rm -f
+TAR ?= tar
+COMPRESS ?= gzip
#
# archive file name
View
24 ms2gt/src/mapx/trunk/Makefile.ms2gt
@@ -24,20 +24,20 @@ DOCDIR = Documentation
#
# commands
#
-SHELL = /bin/sh
-CC = cc
-AR = ar
-RANLIB = touch
+SHELL ?= /bin/sh
+CC ?= cc
+AR ?= ar
+RANLIB ?= touch
# Uncomment the next line for MAC OSX
#RANLIB = ranlib
-CO = co
-MAKEDEPEND = makedepend
-INSTALL = cp -f -p
-MKDIR = mkdir -p
-CP = cp -f -p
-RM = rm -f
-TAR = tar
-COMPRESS = gzip
+CO ?= co
+MAKEDEPEND ?= makedepend
+INSTALL ?= cp -f -p
+MKDIR ?= mkdir -p
+CP ?= cp -f -p
+RM ?= rm -f
+TAR ?= tar
+COMPRESS ?= gzip
#
# archive file name
View
16 ms2gt/src/projection/Makefile
@@ -19,14 +19,14 @@ BINDIR = $(TOPDIR)/bin
#
# commands
#
-SHELL = /bin/sh
-CC = cc
-CO = co
-MAKEDEPEND = makedepend
-INSTALL = cp
-RM = rm -f
-TAR = tar
-COMPRESS = gzip
+SHELL ?= /bin/sh
+CC ?= cc
+CO ?= co
+MAKEDEPEND ?= makedepend
+INSTALL ?= cp
+RM ?= rm -f
+TAR ?= tar
+COMPRESS ?= gzip
#
# archive file name
View
16 ms2gt/src/utils/Makefile
@@ -19,14 +19,14 @@ BINDIR = $(TOPDIR)/bin
#
# commands
#
-SHELL = /bin/sh
-CC = cc
-CO = co
-MAKEDEPEND = makedepend
-INSTALL = cp
-RM = rm -f
-TAR = tar
-COMPRESS = gzip
+SHELL ?= /bin/sh
+CC ?= cc
+CO ?= co
+MAKEDEPEND ?= makedepend
+INSTALL ?= cp
+RM ?= rm -f
+TAR ?= tar
+COMPRESS ?= gzip
#
# debug or optimization settings
View
16 ms2gt/src/xy2ll/Makefile
@@ -19,14 +19,14 @@ BINDIR = $(TOPDIR)/bin
#
# commands
#
-SHELL = /bin/sh
-CC = cc
-CO = co
-MAKEDEPEND = makedepend
-INSTALL = cp
-RM = rm -f
-TAR = tar
-COMPRESS = gzip
+SHELL ?= /bin/sh
+CC ?= cc
+CO ?= co
+MAKEDEPEND ?= makedepend
+INSTALL ?= cp
+RM ?= rm -f
+TAR ?= tar
+COMPRESS ?= gzip
#
# archive file name
Please sign in to comment.
Something went wrong with that request. Please try again.