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