File: Makefile

package info (click to toggle)
ocaml-doc 3.09-1
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 10,428 kB
  • ctags: 4,963
  • sloc: ml: 9,244; makefile: 2,413; ansic: 122; sh: 49; asm: 17
file content (224 lines) | stat: -rw-r--r-- 4,531 bytes parent folder | download | duplicates (2)
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.91 95/01/12 16:15:47 kaleb Exp $

LIBDIR=/usr/local/lib/ocaml/
CAMLC=ocamlc
CAMLCOPT=ocamlopt
COMPFLAGS=-g
COMPFLAGSOPT=
CAMLLIBR=ocamllibr
CAMLLEX=ocamllex
CAMLYACC=ocamlyacc
CAMLDEP=ocamldep -pp camlp4o
CPP=/lib/cpp -P
RM=rm -f
CP=cp -p -f
TOP=../.
CONFIG=$(TOP)/config

all::
allopt:opt

# (begin Imakefile)

hanoi-fra.OBJS=hanoi-fra.cmo
hanoi-fra.FILES=$(hanoi-fra.OBJS:.cmo=.ml)

all::hanoi-fra

depend::
	$(CAMLDEP) $(hanoi-fra.FILES) >> Makefile

clean::
	$(RM) hanoi-fra

hanoi-fra: hanoi-fra.cmo
	$(CAMLC) $(LINKFLAGS)  hanoi-fra.cmo -o hanoi-fra

hanoi-fra.BINOBJS=hanoi-fra.cmx
hanoi-fra.FILES=$(hanoi-fra.BINOBJS:.cmx=.ml)

opt::hanoi-fra.opt

depend::
	$(CAMLDEP) $(hanoi-fra.FILES) >> Makefile

clean::
	$(RM) hanoi-fra hanoi-fra.opt

hanoi-fra.opt: hanoi-fra.cmx
	$(CAMLCOPT) $(LINKFLAGSOPT)  hanoi-fra.cmx -o hanoi-fra.opt
	$(CP) hanoi-fra.opt hanoi-fra

hanoi-eng.OBJS=hanoi-eng.cmo
hanoi-eng.FILES=$(hanoi-eng.OBJS:.cmo=.ml)

all::hanoi-eng

depend::
	$(CAMLDEP) $(hanoi-eng.FILES) >> Makefile

clean::
	$(RM) hanoi-eng

hanoi-eng: hanoi-eng.cmo
	$(CAMLC) $(LINKFLAGS)  hanoi-eng.cmo -o hanoi-eng

hanoi-eng.BINOBJS=hanoi-eng.cmx
hanoi-eng.FILES=$(hanoi-eng.BINOBJS:.cmx=.ml)

opt::hanoi-eng.opt

depend::
	$(CAMLDEP) $(hanoi-eng.FILES) >> Makefile

clean::
	$(RM) hanoi-eng hanoi-eng.opt

hanoi-eng.opt: hanoi-eng.cmx
	$(CAMLCOPT) $(LINKFLAGSOPT)  hanoi-eng.cmx -o hanoi-eng.opt
	$(CP) hanoi-eng.opt hanoi-eng

txthanoi-fra.OBJS=txthanoi-fra.cmo
txthanoi-fra.FILES=$(txthanoi-fra.OBJS:.cmo=.ml)

all::txthanoi-fra

depend::
	$(CAMLDEP) $(txthanoi-fra.FILES) >> Makefile

clean::
	$(RM) txthanoi-fra

txthanoi-fra: txthanoi-fra.cmo
	$(CAMLC) $(LINKFLAGS)  txthanoi-fra.cmo -o txthanoi-fra

txthanoi-fra.BINOBJS=txthanoi-fra.cmx
txthanoi-fra.FILES=$(txthanoi-fra.BINOBJS:.cmx=.ml)

opt::txthanoi-fra.opt

depend::
	$(CAMLDEP) $(txthanoi-fra.FILES) >> Makefile

clean::
	$(RM) txthanoi-fra txthanoi-fra.opt

txthanoi-fra.opt: txthanoi-fra.cmx
	$(CAMLCOPT) $(LINKFLAGSOPT)  txthanoi-fra.cmx -o txthanoi-fra.opt
	$(CP) txthanoi-fra.opt txthanoi-fra

txthanoi-eng.OBJS=txthanoi-eng.cmo
txthanoi-eng.FILES=$(txthanoi-eng.OBJS:.cmo=.ml)

all::txthanoi-eng

depend::
	$(CAMLDEP) $(txthanoi-eng.FILES) >> Makefile

clean::
	$(RM) txthanoi-eng

txthanoi-eng: txthanoi-eng.cmo
	$(CAMLC) $(LINKFLAGS)  txthanoi-eng.cmo -o txthanoi-eng

txthanoi-eng.BINOBJS=txthanoi-eng.cmx
txthanoi-eng.FILES=$(txthanoi-eng.BINOBJS:.cmx=.ml)

opt::txthanoi-eng.opt

depend::
	$(CAMLDEP) $(txthanoi-eng.FILES) >> Makefile

clean::
	$(RM) txthanoi-eng txthanoi-eng.opt

txthanoi-eng.opt: txthanoi-eng.cmx
	$(CAMLCOPT) $(LINKFLAGSOPT)  txthanoi-eng.cmx -o txthanoi-eng.opt
	$(CP) txthanoi-eng.opt txthanoi-eng

grahanoi-fra.OBJS=grahanoi-fra.cmo
grahanoi-fra.FILES=$(grahanoi-fra.OBJS:.cmo=.ml)

all::grahanoi-fra

depend::
	$(CAMLDEP) $(grahanoi-fra.FILES) >> Makefile

clean::
	$(RM) grahanoi-fra

grahanoi-fra: grahanoi-fra.cmo
	$(CAMLC) $(LINKFLAGS) -custom unix.cma graphics.cma  grahanoi-fra.cmo -o grahanoi-fra

grahanoi-fra.BINOBJS=grahanoi-fra.cmx
grahanoi-fra.FILES=$(grahanoi-fra.BINOBJS:.cmx=.ml)

opt::grahanoi-fra.opt

depend::
	$(CAMLDEP) $(grahanoi-fra.FILES) >> Makefile

clean::
	$(RM) grahanoi-fra grahanoi-fra.opt

grahanoi-fra.opt: grahanoi-fra.cmx
	$(CAMLCOPT) $(LINKFLAGSOPT) unix.cmxa graphics.cmxa  grahanoi-fra.cmx -o grahanoi-fra.opt
	$(CP) grahanoi-fra.opt grahanoi-fra

grahanoi-eng.OBJS=grahanoi-eng.cmo
grahanoi-eng.FILES=$(grahanoi-eng.OBJS:.cmo=.ml)

all::grahanoi-eng

depend::
	$(CAMLDEP) $(grahanoi-eng.FILES) >> Makefile

clean::
	$(RM) grahanoi-eng

grahanoi-eng: grahanoi-eng.cmo
	$(CAMLC) $(LINKFLAGS) -custom unix.cma graphics.cma  grahanoi-eng.cmo -o grahanoi-eng

grahanoi-eng.BINOBJS=grahanoi-eng.cmx
grahanoi-eng.FILES=$(grahanoi-eng.BINOBJS:.cmx=.ml)

opt::grahanoi-eng.opt

depend::
	$(CAMLDEP) $(grahanoi-eng.FILES) >> Makefile

clean::
	$(RM) grahanoi-eng grahanoi-eng.opt

grahanoi-eng.opt: grahanoi-eng.cmx
	$(CAMLCOPT) $(LINKFLAGSOPT) unix.cmxa graphics.cmxa  grahanoi-eng.cmx -o grahanoi-eng.opt
	$(CP) grahanoi-eng.opt grahanoi-eng

# (end Imakefile)

clean::
	$(RM) *.cmi *.cmix *.cmo *.cmx *.o a.out* *~ *.opt #*#

depend::

beforedepend::

mfile:
	imake -I$(CONFIG) -DTOPDIR=$(TOP)

makefiles:: beforedepend mfile depend

.SUFFIXES: .mli .cmi .ml .cmo .cmx

.mli.cmi:
	$(CAMLC) $(COMPFLAGS) -c $<

.ml.cmo:
	$(CAMLC) $(COMPFLAGS) -c $<

.ml.cmx:
	$(CAMLCOPT) $(COMPFLAGSOPT) -c $<

# Generated dependencies below