blob: 06a5b75c0db06ce833d8b7bab6f12a36e2726b39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
|