Sun, 28 Nov 2010 23:05:31 +0000
[makefile] fix SDL config (cflags and liblnk), fix date formats, fix for cflags with slashes
- Fixed SDL configuration pull-in to use $(shell ...) instead of backticks
- Fix date formats, add DATETIME string
- Fix sed bailout when CFLAGS contains slashes (e.g. paths)
philpem@13 | 1 | #define VER_COMPILE_DATETIME "@@datetime@@" |
philpem@0 | 2 | #define VER_COMPILE_DATE "@@date@@" |
philpem@0 | 3 | #define VER_COMPILE_TIME "@@time@@" |
philpem@0 | 4 | #define VER_COMPILE_BY "@@whoami@@" |
philpem@0 | 5 | #define VER_COMPILE_HOST "@@hostname@@" |
philpem@0 | 6 | #define VER_COMPILER "@@compiler@@" |
philpem@0 | 7 | #define VER_BUILD_TYPE "@@buildtype@@" |
philpem@0 | 8 | #define VER_CFLAGS "@@cflags@@" |
philpem@0 | 9 | |
philpem@0 | 10 | #define VER_MAJOR @@majorver@@ |
philpem@0 | 11 | #define VER_MINOR @@minorver@@ |
philpem@0 | 12 | #define VER_BUILDNUM @@buildnum@@ |
philpem@0 | 13 | #define VER_EXTRA "@@extraver@@" |
philpem@0 | 14 | #define VER_VCSREV "@@vcsstr@@" |
philpem@0 | 15 | |
philpem@13 | 16 | #define VER_FULLSTR "@@fullverstr@@" |
philpem@0 | 17 |