# Copyright 2012-2022, Alexander Shibakov # This file is part of SPLinT # # SPLinT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # SPLinT is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with SPLinT. If not, see . # this Makefile uses a flat directory structure for demonstration # purposes; the main directory (../..) follows a slightly more # modular organization scheme. SYMBOLS_PREREQS = %.tex %.idx ${SPLINT_XTEXSTYLES} ${SPLINT_XTABLES} symtoks.sty SYMBOLS_PREREQS += symmap.sty symtricks.sty symfm.sty slimbo.sty SYMBOLS_PREREQS += ${SPLINT_ROOT}cweb/fil.l ${SPLINT_ROOT}cweb/bg.y ${SPLINT_ROOT}cweb/lo.l include ../../makefile.inc # rules specific to this example %.tex: %.x %.tex: %.w %.tex %.idx: %.x alphas.hx -${CWEAVE} $< %.gdx: ${SYMBOLS_PREREQS} ${TEX} $*.tex %.pdf %.sns: ${SYMBOLS_PREREQS} %.gdy ${PDFTEX} $*.tex && touch $*.gdy && touch $*.pdf alphas.hx: ${MISCCW} --alpha-list --alpha-length=1 $@ docs: symbols.pdf clean: clean_core rm -f symbols.tex mostlyclean: clean_temp distclean: clean cd ${SPLINT_ROOT} && ${MAKE} clean .PRECIOUS: ${SPLINT_XOTABLES} ${SPLINT_ROOT}cweb/lo.l \ ${SPLINT_ROOT}cweb/fil.l ${SPLINT_ROOT}cweb/dyytab.tex ${SPLINT_ROOT}cweb/gyytab.tex \ ${SPLINT_ROOT}cweb/fyytab.tex symbols.gdy .INTERMEDIATE: #.INTERMEDIATE: symbols.gdx