makefile

来自「应用平台 UNIX  一个时间程序的C代码。 datemath - manipu」· 代码 · 共 50 行

TXT
50
字号
## $Id: //pentools/main/datemath/Makefile#4 $## written by:   Stephen J. Friedl#               Software Consultant#               Tustin, California USA#               steve@unixwiz.net##		http://www.unixwiz.net/tools/datemath.html##	This is the makefile for datemath, and it's not nearly so#	portable as most of our other code. It was written many#	moons ago with lex and yacc, but it's been revised to deal#	with flex and bison: it's likely that this was not a complete#	solution.#YACC	= bisonLEX	= flexCC	= gccCFLAGS	= OBJS	= datemath.o gram.o lex.o util.o jdate.oSOURCE	= datemath.c gram.y lex.l util.c jdate.c defs.h MakefileCLEAN	= ${OBJS} y.tab.h gram.c lex.c y.tab.c gram.tab.c gram.hCLOBBER	= datemath installdatemath : ${OBJS}	${CC} -o $@ ${OBJS} ${LIBS}gram.c : gram.y	$(YACC) --defines --output=gram.c gram.ylex.o : lex.l gram.o		# insure that y.tab.h is built$(OBJS) : defs.hclean :	/bin/rm -f ${CLEAN}clobber : clean	/bin/rm -f ${CLOBBER}tarball : datemath.tar.gzdatemath.tar.gz : $(SOURCE)	gtar -czvf $@ $(SOURCE)

⌨️ 快捷键说明

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