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