freebsd-ports/science/nifticlib/files/patch-Makefile
Martin Wilke 8ccd4f46b7 NIfTI-1 is a new Analyze-style data format, proposed by the NIfTI DFWG
as a short-term measure to facilitate inter-operation of functional MRI
data analysis software packages.

WWW:	http://nifti.nimh.nih.gov/

PR:		ports/112183
Submitted by:	Jason W. Bacon
2007-04-28 10:58:01 +00:00

36 lines
754 B
Text

--- Makefile.orig Wed Sep 6 13:12:43 2006
+++ Makefile Fri Apr 27 09:04:12 2007
@@ -15,21 +15,21 @@
## Compiler defines
-cc = gcc
-CC = gcc
-AR = ar
-RANLIB = ranlib
-DEPENDFLAGS = -MM
-GNU_ANSI_FLAGS = -Wall -ansi -pedantic
-ANSI_FLAGS = ${GNU_ANSI_FLAGS}
-CFLAGS = $(ANSI_FLAGS)
+cc ?= gcc
+CC ?= gcc
+AR ?= ar
+RANLIB ?= ranlib
+DEPENDFLAGS ?= -MM
+GNU_ANSI_FLAGS ?= -Wall -ansi -pedantic
+ANSI_FLAGS ?= ${GNU_ANSI_FLAGS}
+CFLAGS ?= $(ANSI_FLAGS)
## Command defines
## gmake does not work on MacOSX or some versions of linux MAKE = gmake
-RM = rm
-MV = mv
-CP = cp
-TAR = /opt/csw/bin/gtar ##/usr/freeware/bin/tar
+RM ?= rm
+MV ?= mv
+CP ?= cp
+TAR ?= /opt/csw/bin/gtar ##/usr/freeware/bin/tar
## Installation