makefile

来自「linux 多线程例子」· 代码 · 共 31 行

TXT
31
字号
############################################################ An example source module to accompany...## "Using POSIX Threads: Programming with Pthreads"#     by Brad nichols, Dick Buttlar, Jackie Farrell#     O'Reilly & Associates, Inc.############################################################# tpool/Makefile## makefile for the example programs for pthreads programming book##include <pthread.h>#include "tpool.h"CC = ccCFLAGS = -std1 -warnprotos -g THREAD_CFLAGS = ${CFLAGS} -pthreadall :  tpooltesttpooltest: tpooltest.o tpool.o	${CC} ${THREAD_CFLAGS} tpooltest.o tpool.o -o tpooltest bugtest: bugtest.o tpool.o	${CC} ${THREAD_CFLAGS} bugtest.o tpool.o -o butestclean :	rm -f *.o *~ *# core  \	tpooltest

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?