📄 makefile
字号:
## $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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -