summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-06-27 14:02:30 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-06-27 14:02:30 (GMT)
commitb7243e09a148af56aabbce4fe8d7014b93aceeb1 (patch)
treeb0bce978251620c6b69b11c88233bf4848ada2e3 /Makefile
parentfa3de9c505d8dbbd1620885c6e73014eb4e29ece (diff)
downloadmxe-b7243e09a148af56aabbce4fe8d7014b93aceeb1.zip
mxe-b7243e09a148af56aabbce4fe8d7014b93aceeb1.tar.gz
mxe-b7243e09a148af56aabbce4fe8d7014b93aceeb1.tar.bz2
Makefile: add $(DATE) portability variable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7d2c59f..319a003 100644
--- a/Makefile
+++ b/Makefile
@@ -13,6 +13,7 @@ SHELL := bash
NPROCS := $(shell nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 1)
JOBS := $(shell printf "$(DEFAULT_MAX_JOBS)\n$(NPROCS)" | sort -n | head -1)
+DATE := $(shell gdate --help >/dev/null 2>&1 && echo g)date
INSTALL := $(shell ginstall --help >/dev/null 2>&1 && echo g)install
LIBTOOL := $(shell glibtool --help >/dev/null 2>&1 && echo g)libtool
LIBTOOLIZE := $(shell glibtoolize --help >/dev/null 2>&1 && echo g)libtoolize