1 # This Makefile is mostly intended to gather all resulting faust2mathdoc pdf files into the single directory "allmathpdfs".
6 DSP
= $(wildcard *.dsp
)
7 TEX
= $(wildcard *-mdoc
/tex/*.
tex)
8 PDF
= $(wildcard *-mdoc
/pdf
/*.pdf
)
13 .PHONY
: all clean compile copy
install mathdoc help
17 $(MAKE
) -C ..
/..
/compiler
-f Makefile.unix
20 sudo
$(MAKE
) -C ..
/..
install
21 sudo
$(MAKE
) -C ..
/..
/tools
/faust2appls
install
30 cp
$(DSP
) allmathdsps
/
31 cp
$(TEX
) allmathtexs
/
32 cp
$(PDF
) allmathpdfs
/
35 @echo
"make or make all : compile math documentation of all examples, then copy resulting pdf files into \"allmathpdfs\" directory."
36 @echo
"make clean : remove \"*-mdoc\" and \"allmath*\" directories."
37 @echo
"make compile : compile the faust compiler."
38 @echo
"make install : install the faust compiler and faust2appls scripts."
39 @echo
"make mathdoc : generate math documentation of all examples (with faust2mathdoc)."
40 @echo
"make copy : copy dsp, pdf, and tex files into \"allmathdsps\", \"allmathpdfs\", and \"allmathtexs\" directories."
41 @echo
"make total : clean, compile faust, install faust and faust2appls, compile math docs, and copy files."
47 total
: clean compile
install mathdoc copy