📄 redhat.mak
字号:
# Redhat Linux and compiler definitions
# 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 += redhat.mak
INCLUDE_DIRS +=
LIBS_LIST += nsl
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 :=
# Compiler setup - GNU
CC := gcc -pthread -D_REDHAT -D_GNU_SOURCE
INCLUDE_FLAG := -I
C_DEBUGFLAG := -g
C_OPTFLAG := -O3
CFLAGS +=
OBJ_EXTENTION := .o
AR := ar
ARFLAGS := -rc
LIB_EXTENTION := .a
LINK := gcc -pthread
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) $< | \
sed '1s*^*$*.d $(*D)/*' > $@; \
[ -s $@ ] || rm -f $@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -