~ubuntu-branches/ubuntu/jaunty/pxp/jaunty

« back to all changes in this revision

Viewing changes to examples/namespaces/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Stefano Zacchiroli
  • Date: 2002-03-27 20:47:53 UTC
  • Revision ID: james.westby@ubuntu.com-20020327204753-1lmazhm839pz62pq
Tags: upstream-1.1.4
ImportĀ upstreamĀ versionĀ 1.1.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# make preprocess:      make bytecode executable
 
2
# make preprocess.opt:  make native executable
 
3
# make clean:           remove intermediate files
 
4
# make CLEAN:           remove intermediate files (recursively)
 
5
# make distclean:       remove any superflous files
 
6
# make install
 
7
#----------------------------------------------------------------------
 
8
 
 
9
BIN = /usr/local/bin
 
10
 
 
11
preprocess: preprocess.ml
 
12
        ocamlfind ocamlc -g -o preprocess -package pxp,str -linkpkg preprocess.ml
 
13
 
 
14
preprocess.opt: preprocess.ml
 
15
        ocamlfind ocamlopt -o preprocess.opt -package pxp,str -linkpkg preprocess.ml
 
16
 
 
17
 
 
18
.PHONY: clean
 
19
clean:
 
20
        rm -f *.cmi *.cmo *.cma *.cmx *.o *.a *.cmxa
 
21
 
 
22
.PHONY: CLEAN
 
23
CLEAN: clean
 
24
 
 
25
.PHONY: distclean
 
26
distclean: clean
 
27
        rm -f *~ depend depend.pkg
 
28
        rm -f preprocess preprocess.opt
 
29
 
 
30
.PHONY: install
 
31
install:
 
32
        cp preprocess $(BIN)