makefile

来自「openmp版的banchmark」· 代码 · 共 34 行

TXT
34
字号
SHELL=/bin/shBENCHMARK=spBENCHMARKU=SPinclude ../config/make.defOBJS =	sp.o \	${COMMON}/c_print_results.o ${COMMON}/c_timers.o ${COMMON}/c_wtime.oinclude ../sys/make.common# npbparams.h is included by header.h# The following rule should do the trick but many make programs (not gmake)# will do the wrong thing and rebuild the world every time (because the# mod time on header.h is not changed. One solution would be to # touch header.h but this might cause confusion if someone has# accidentally deleted it. Instead, make the dependency on npbparams.h# explicit in all the lines below (even though dependence is indirect). # header.h: npbparams.h${PROGRAM}: config ${OBJS}	${CLINK} ${CLINKFLAGS} -o ${PROGRAM} ${OBJS} ${C_LIB}.c.o:	${CCOMPILE} $<sp.o:             sp.c  header.h npbparams.hclean:	- rm -f *.o *~ mputil*	- rm -f npbparams.h core

⌨️ 快捷键说明

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