diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /web/matlabweb/Makefile |
Initial commit
Diffstat (limited to 'web/matlabweb/Makefile')
-rw-r--r-- | web/matlabweb/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/web/matlabweb/Makefile b/web/matlabweb/Makefile new file mode 100644 index 0000000000..06a5b75c0d --- /dev/null +++ b/web/matlabweb/Makefile @@ -0,0 +1,37 @@ + +# makefile for the distributed version of MWEB (Matlab WEB). +# read README and Install for more information. + +# your C compiler, and the compiler flags +CC=gcc -DDEBUG -g -DSTAT -DNEWLINES_IN_MACROS -DMATLAB_FLOATING_POINT + +# where you want the binaries to go +#BINDIR=/usr/local/bin/ +BINDIR=$$HOME/bin + +# where you want the TeX and LaTeX macros to go +#TEXDIR=/usr/lib/texmf/tex/tex/misc/ +#LATEXDIR=/usr/lib/texmf/tex/latex/misc/ +TEXDIR=$$HOME/tex +LATEXDIR=$$HOME/tex + +##### no changes should be necessary below ################## + +all: mtangle mweave +tangle: mtangle +weave: mweave +mweave: weave.c common.c pathopen.c + $(CC) weave.c common.c pathopen.c -o mweave +mtangle: mtangle.c common.c pathopen.c + $(CC) mtangle.c common.c pathopen.c -o mtangle + +install: mtangle mweave mweb.tex webkernel.tex + cp mtangle $(BINDIR) + cp mweave $(BINDIR) + cp mweb.tex $(TEXDIR) + cp webkernel.tex $(TEXDIR) + cp webfiles.sty $(LATEXDIR) + cp swebbind.sty $(LATEXDIR) + +clean: + - rm -f *.o mweave mtangle |