📄 makefile
字号:
# makefile to generate the spec document from it sources# requires transfig and pdflatex# Alias some shell commands, so we might have a chance of running on non-Unix# platforms some day.MV = mvRM = rm -fSPEC_SRCS = spec.tex spec.bibFIG_SRCS = pic-frame.fig hilbert-mb.fig hilbert-block.fig xifish.fig \ superblock.fig macroblock.fig raster-block.fig reference-frames.fig \ pixel444.fig pixel422.fig pixel420.fig idct.fig fdct.fig \ pic_even.fig pic_even_odd.fig pic_odd.fig pic_odd_even.figFIG_TEXS = $(FIG_SRCS:.fig=.tex)FIG_AUXS = $(FIG_SRCS:.fig=.aux)FIG_PDFS = $(FIG_SRCS:.fig=.pdf)# add any native-pdf figures hereFIG_OBJS = $(FIG_PDFS)Theora_I_spec.pdf : spec.pdf $(MV) $< $@spec.pdf : $(SPEC_SRCS) $(FIG_OBJS) vp3huff.tex spec.bbl # three times is the charm with references pdflatex --interaction nonstopmode spec.tex pdflatex --interaction nonstopmode spec.tex pdflatex --interaction nonstopmode spec.texspec.aux : spec.tex #Long tables require the .aux file to start from scratch -$(RM) spec.aux pdflatex --interaction nonstopmode $<spec.bbl : spec.aux spec.bib bibtex $<vp3huff.tex : vp3huff ./vp3huff > $@figures : $(FIG_OBJS)# rules to generate latex and pdf versions of the xfig figures%.tex : %.fig fig2dev -L latex $< $@%.pdf : %.fig fig2dev -L pdf -p 0 $< $@.PHONY: clean distclean maintainer-clean# clean targetsclean: -$(RM) $(FIG_TEXS) -$(RM) $(FIG_AUXS) -$(RM) $(FIG_PDFS) -$(RM) vp3huff -$(RM) vp3huff.tex -$(RM) vp3huff.aux -$(RM) spec.aux -$(RM) spec.log -$(RM) spec.lof -$(RM) spec.lot -$(RM) spec.out -$(RM) spec.bbl -$(RM) spec.blg -$(RM) spec.tocdistclean: cleanmaintainer-clean: distclean -$(RM) Theora_I_spec.pdfmaintainerclean: maintainer-clean
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -