makefile
来自「linux thread programe」· 代码 · 共 43 行
TXT
43 行
############################################################ An example source module to accompany...## "Using POSIX Threads: Programming with Pthreads"# by Brad nichols, Dick Buttlar, Jackie Farrell# O'Reilly & Associates, Inc.############################################################# init/makefile## makefile for the example programs## Tru64 UNIX compile flagsT64CC = ccT64CFLAGS = -g -std1 -warnprotos -pthreadT64LDFLAFS = -non_sharedT64LDFLAGS_T = -pthread# GCC/Linux compile flagsGNUCC = gccGNUCFLAGS = -ansi -Wstrict-prototypes -gGNULDFLAGS = -staticGNULDFLAGS_T = ${GNULDFLAGS} -pthread#####################################################CC = ${GNUCC}CFLAGS = ${GNUCFLAGS}LDFLAGS = ${GNUCLDFLAGS}LDFLAGS_T = ${GNULDFLAGS_T}all : static_init mattrstatic_init: static_init.o ${CC} ${CFLAGS} ${LDFLAGS_T} static_init.o -o static_initmattr: mattr.o ${CC} ${CFLAGS} ${LDFLAGS_T} mattr.o -o mattrclean : rm -f *.o *~ *# core \ static_init mattr
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?