📄 tru64.mak
字号:
# Tru64 and compiler definitions
# Currently DECC and GNU compilers are supported
# Assumes default include paths for the compilers are set properly
# Add required info to master lists
# MAKE_LIST - List any OS dependent makefiles (inclduing this one)
# INCLUDE_DIRS - List any OS dependent include directories in search order
# LIBS_LIST - List any OS dependent libraries needed to link executables
MAKE_LIST += tru64.mak
INCLUDE_DIRS +=
LIBS_LIST += pthread rt
LIB_DIRS += /usr/lib
# Indicate if executable targets can be built for this OS via these makefiles
# Set to yes if they can be built, no if they can't.
BUILD_EXECUTABLE := yes
# Extention to target name for executable (ie .exe for Windows)
EXECUTE_EXTENTION :=
ifeq ($(COMPILER), decc)
# Compiler setup - decc compiler
CC := cc -pthread -D_TRU64
INCLUDE_FLAG := -I
C_DEBUGFLAG := -g
C_OPTFLAG := -O
CFLAGS +=
OBJ_EXTENTION := .o
AR := ar
ARFLAGS := -rc
LIB_EXTENTION := .a
LINK := cc
LIBS_FLAG := -l
LIBS_DIRFLAG:= -L
LDFLAGS +=
# Define full .d file generation command since they vary so much. The
# target will be the .d file and the first dependency will be the .c file.
MAKEDEPEND = set -e; $(CC) -M -c $(CFLAGS) $< | \
sort -u | \
sed 's*^*$*.d $(*D)/*' > $@; \
[ -s $@ ] || rm -f $@
else
# Only decc the compiler is supported for Tru64
$(error Compiler '$(COMPILER)' not supported for Tru64. Only 'decc' is currently supported)
endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -