~ubuntu-branches/ubuntu/hardy/ocaml-doc/hardy

« back to all changes in this revision

Viewing changes to examples/minilogo/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2007-09-08 01:49:22 UTC
  • mfrom: (0.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070908014922-lvihyehz0ndq7suu
Tags: 3.10-1
* New upstream release.
* Removed camlp4 documentation since it is not up-to-date.
* Updated to standards version 3.7.2, no changes needed.
* Updated my email address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile generated by imake - do not edit!
2
 
# $XConsortium: imake.c,v 1.91 95/01/12 16:15:47 kaleb Exp $
3
 
 
4
 
LIBDIR=/usr/local/lib/ocaml/
5
 
CAMLC=ocamlc
6
 
CAMLCOPT=ocamlopt
7
 
COMPFLAGS=-g
8
 
COMPFLAGSOPT=
9
 
CAMLLIBR=ocamllibr
10
 
CAMLLEX=ocamllex
11
 
CAMLYACC=ocamlyacc
12
 
CAMLDEP=ocamldep -pp camlp4o
13
 
CPP=/lib/cpp -P
14
 
RM=rm -f
15
 
CP=cp -p -f
16
 
TOP=../.
17
 
CONFIG=$(TOP)/config
18
 
 
19
 
all::
20
 
allopt:opt
21
 
 
22
 
# (begin Imakefile)
23
 
 
24
 
COMPFLAGS=-g -pp camlp4o
25
 
 
26
 
logo.OBJS=crayon.cmo langage.cmo alex.cmo asynt.cmo logo.cmo
27
 
logo.FILES=$(logo.OBJS:.cmo=.ml)
28
 
 
29
 
all::logo
30
 
 
31
 
depend::
32
 
        $(CAMLDEP) $(logo.FILES) >> Makefile
33
 
 
34
 
clean::
35
 
        $(RM) logo
36
 
 
37
 
logo: crayon.cmo langage.cmo alex.cmo asynt.cmo logo.cmo
38
 
        $(CAMLC) -pp camlp4o $(LINKFLAGS) -custom unix.cma graphics.cma  crayon.cmo langage.cmo alex.cmo asynt.cmo logo.cmo -o logo
39
 
 
40
 
COMPFLAGSOPT=-pp camlp4o
41
 
 
42
 
logo.BINOBJS=crayon.cmx langage.cmx alex.cmx asynt.cmx logo.cmx
43
 
logo.FILES=$(logo.BINOBJS:.cmx=.ml)
44
 
 
45
 
opt::logo.opt
46
 
 
47
 
depend::
48
 
        $(CAMLDEP) $(logo.FILES) >> Makefile
49
 
 
50
 
clean::
51
 
        $(RM) logo logo.opt
52
 
 
53
 
logo.opt: crayon.cmx langage.cmx alex.cmx asynt.cmx logo.cmx
54
 
        $(CAMLCOPT) -pp camlp4o $(LINKFLAGSOPT) unix.cmxa graphics.cmxa  crayon.cmx langage.cmx alex.cmx asynt.cmx logo.cmx -o logo.opt
55
 
        $(CP) logo.opt logo
56
 
 
57
 
# (end Imakefile)
58
 
 
59
 
clean::
60
 
        $(RM) *.cmi *.cmix *.cmo *.cmx *.o a.out* *~ *.opt #*#
61
 
 
62
 
depend::
63
 
 
64
 
beforedepend::
65
 
 
66
 
mfile:
67
 
        imake -I$(CONFIG) -DTOPDIR=$(TOP)
68
 
 
69
 
makefiles:: beforedepend mfile depend
70
 
 
71
 
.SUFFIXES: .mli .cmi .ml .cmo .cmx
72
 
 
73
 
.mli.cmi:
74
 
        $(CAMLC) $(COMPFLAGS) -c $<
75
 
 
76
 
.ml.cmo:
77
 
        $(CAMLC) $(COMPFLAGS) -c $<
78
 
 
79
 
.ml.cmx:
80
 
        $(CAMLCOPT) $(COMPFLAGSOPT) -c $<
81
 
 
82
 
# Generated dependencies below
83
 
 
84
 
crayon.cmo: crayon.cmi 
85
 
crayon.cmx: crayon.cmi 
86
 
langage.cmo: crayon.cmi langage.cmi 
87
 
langage.cmx: crayon.cmx langage.cmi 
88
 
alex.cmo: alex.cmi 
89
 
alex.cmx: alex.cmi 
90
 
asynt.cmo: alex.cmi langage.cmi asynt.cmi 
91
 
asynt.cmx: alex.cmx langage.cmx asynt.cmi 
92
 
logo.cmo: alex.cmi asynt.cmi crayon.cmi langage.cmi 
93
 
logo.cmx: alex.cmx asynt.cmx crayon.cmx langage.cmx 
94
 
crayon.cmo: crayon.cmi 
95
 
crayon.cmx: crayon.cmi 
96
 
langage.cmo: crayon.cmi langage.cmi 
97
 
langage.cmx: crayon.cmx langage.cmi 
98
 
alex.cmo: alex.cmi 
99
 
alex.cmx: alex.cmi 
100
 
asynt.cmo: alex.cmi langage.cmi asynt.cmi 
101
 
asynt.cmx: alex.cmx langage.cmx asynt.cmi 
102
 
logo.cmo: alex.cmi asynt.cmi crayon.cmi langage.cmi 
103
 
logo.cmx: alex.cmx asynt.cmx crayon.cmx langage.cmx