sysid.mak

来自「C++类模版库实现」· MAK 代码 · 共 27 行

MAK
27
字号
# Time-stamp: <03/07/15 12:45:30 ptr># $Id: sysid.mak,v 1.1 2003/11/14 19:58:29 ptr Exp $ifndef BUILD_DATEOSNAME := $(shell uname -s | tr '[A-Z]' '[a-z]' | tr ', /\\()"' ',//////' | tr ',/' ',-')# RedHat use nonstandard options for uname at least in cygwin,# macro should be overwritten:ifeq (cygwin,$(findstring cygwin,$(OSNAME)))OSNAME := $(shell uname -o | tr '[A-Z]' '[a-z]' | tr ', /\\()"' ',//////' | tr ',/' ',-')endifOSREL := $(shell uname -r | tr '[A-Z]' '[a-z]' | tr ', /\\()"' ',//////' | tr ',/' ',-')M_ARCH := $(shell uname -m | tr '[A-Z]' '[a-z]' | tr ', /\\()"' ',//////' | tr ',/' ',-')P_ARCH := $(shell uname -p | tr '[A-Z]' '[a-z]' | tr ', /\\()"' ',//////' | tr ',/' ',-')NODENAME := $(shell uname -n | tr '[A-Z]' '[a-z]' )SYSVER := $(shell uname -v )USER := $(shell echo $$USER )# OS_VER := $(shell uname -s | tr '[A-Z]' '[a-z]' | tr ', /\\()"' ',//////' | tr ',/' ',_')BUILD_SYSTEM := $(shell echo `uname -n` `uname -s` `uname -r` `uname -v` `uname -m` $$USER)BUILD_DATE := $(shell date +'%Y/%m/%d %T %Z')endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?