Revision 6966
Added by Aaron Marcuse-Kubitza about 12 years ago
lib/common.Makefile | ||
---|---|---|
37 | 37 |
os := $(shell uname) |
38 | 38 |
isMac := $(filter Darwin,$(os)) |
39 | 39 |
forOs = $(patsubst %,%-$(filter Linux Darwin,$(os)),$(1)) |
40 |
date = $(shell date +"%-Y-%-m-%-d %-H:%M:%S %Z") |
|
40 |
dateFmt := %-Y-%-m-%-d %-H:%M:%S %Z |
|
41 |
date = $(shell date +"$(dateFmt)") |
|
41 | 42 |
|
42 | 43 |
# Terminal |
43 | 44 |
esc := '[' |
Also available in: Unified diff
lib/common.Makefile: $(date): Factored date format out into $(dateFmt)