summaryrefslogtreecommitdiff
path: root/support/tiny_c2l/makefile.vms
blob: 5e6a28e516b0a05e9e58a99673e735c5bfa3e8bd (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
.ifdef __AXP__
OBJ = .obj_x
EXE = .exe_x
LIBS  = ,sys$share:vaxcrtl/lib/exec=$(MMS$TARGET)
.else
OBJ = .obj
EXE = .exe
LIBS  = ,c.opt/opt/exec=$(MMS$TARGET)
.endif
LEX   = flex

.SUFFIXES : .l $(OBJ) $(EXE)
.c$(EXE) :
   $(CC) $</object=$(MMS$TARGET_NAME)$(OBJ)
   link $(MMS$TARGET_NAME)$(OBJ)$(LIBS)
   cvt_rm $(MMS$TARGET_NAME)$(OBJ);*
.l$(EXE) :
   $(LEX) $<
   $(CC) $(MMS$TARGET_NAME).c/object=$(MMS$TARGET_NAME)$(OBJ)
   link $(MMS$TARGET_NAME)$(OBJ)$(LIBS)
   cvt_rm $(MMS$TARGET_NAME).c;*,$(MMS$TARGET_NAME)$(OBJ);*

all : tc pt2 demo
demo : tiny_c2l.dvi testfile.dvi asm_uebung.dvi multiple.dvi

pv : position.dvi
   xdvi position.dvi
pt2 : position.dvi position.sty
   - latex position.dtx
position.dvi : position.dtx position.sty
   - latex position.dtx

py : position.sty
position.sty : position.dtx position.ins
   latex position.ins

tcv : tiny_c2l.dvi
   xdvi tiny_c2l.dvi
tct2 : tiny_c2l.dvi position.sty
   - latex tiny_c2l.tex
tiny_c2l.dvi : tiny_c2l.tex position.sty
   - latex tiny_c2l.tex
tct : tiny_c2l.tex
tiny_c2l.tex : tiny_c2l.l tiny_c2l$(EXE)
   mc sys$disk:[]tiny_c2l$(EXE) -l tiny_c2l.l tiny_c2l.tex

tfv : testfile.dvi
   xdvi testfile.dvi
tft2 : testfile.dvi position.sty
   - latex testfile.tex
testfile.dvi : testfile.tex position.sty
   - latex testfile.tex
tft : testfile.tex
testfile.tex : testfile.l tiny_c2l$(EXE)
   mc sys$disk:[]tiny_c2l$(EXE) -+ -l1 testfile.l testfile.tex

av : asm_uebung.dvi
   xdvi asm_uebung.dvi
at2 : asm_uebung.dvi position.sty
   - latex asm_uebung.tex
asm_uebung.dvi : asm_uebung.tex position.sty
   - latex asm_uebung.tex
at : asm_uebung.tex
asm_uebung.tex : asm_uebung.s tiny_t2l$(EXE)
   mc sys$disk:[]tiny_t2l$(EXE) -t8 asm_uebung.s asm_uebung.tex

md : multiple.dvi
multiple.dvi : testfile.tex tiny_c2l.tex position.sty
   - latex multiple

tc : tiny_c2l$(EXE)
tiny_c2l$(EXE) : tiny_c2l.l
cvt_rm$(EXE) : cvt_rm.c

tt : tiny_t2l$(EXE)
tiny_t2l$(EXE) :  tiny_t2l.l
clean : cvt_rm$(EXE)
   cvt_rm tiny_c2l.aux;*,tiny_c2l.dvi;*,tiny_c2l.lis;*,tiny_c2l.log;*,tiny_c2l.tex;*,tiny_c2l.toc;*
   cvt_rm testfile.aux;*,testfile.dvi;*,testfile.lis;*,testfile.log;*,testfile.tex;*,testfile.toc;*
   cvt_rm asm_uebung.aux;*,asm_uebung.dvi;*,asm_uebung.lis;*,asm_uebung.log;*,asm_uebung.tex;*,asm_uebung.toc;*
   cvt_rm multiple.aux;*,multiple.dvi;*,multiple.lis;*,multiple.log;*,multiple.toc;*
   cvt_rm tiny_c2l.dbg;*,tiny_t2l.dbg;*
   cvt_rm position.aux;*,position.dvi;*,position.lis;*,position.log;*,position.toc;*
distclean : clean
   cvt_rm tiny_c2l.c;*,tiny_c2l$(OBJ);*,tiny_c2l$(EXE);*
   cvt_rm tiny_t2l.c;*,tiny_t2l$(OBJ);*,tiny_t2l$(EXE);*
   cvt_rm cvt_rm$(OBJ);*,cvt_rm$(EXE);*,position.sty