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