📄 makefile
字号:
############################################################ An example source module to accompany...## "Using POSIX Threads: Programming with Pthreads"# by Brad nichols, Dick Buttlar, Jackie Farrell# O'Reilly & Associates, Inc.############################################################# ident/makefile## Tru64 UNIX compile flagsT64CC = ccT64CFLAGS = -g -std1 -warnprotos -pthreadT64LDFLAGS = -non_sharedT64LDFLAGS_T = ${T64LDFLAGS} -pthread# GCC/Linux compile flagsGNUCC = gccGNUCFLAGS = -ansi -Wstrict-prototypes -gGNULDFLAGS = -staticGNULDFLAGS_T = ${GNULDFLAGS} -pthread#####################################################CC = ${GNUCC}CFLAGS = ${GNUCFLAGS}LDFLAGS = ${GNULDFLAGS}LDFLAGS_T = ${GNULDFLAGS_T}all : tident exit_status exit_status_alternativetident: tident.o ${CC} ${CFLAGS} ${LDFLAGS_T} tident.o -o tidentexit_status: exit_status.o ${CC} ${CFLAGS} ${LDFLAGS_T} exit_status.o -o exit_statusexit_status_alternative: exit_status_alternative.o ${CC} ${CFLAGS} ${LDFLAGS_T} exit_status_alternative.o -o exit_status_alternativeclean : rm -f *.o *~ *# core \ tident exit_status exit_status_alternative
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -