source: driver/extracted/Makefile @ 3106

Last change on this file since 3106 was 3093, checked in by sacerdot, 7 years ago

Makefile replaces build, targets: byte, opt, clean

  • Property svn:executable set to *
File size: 478 bytes
Line 
1byte: pre
2        ocamlbuild -Is untrusted -tag debug extracted.cmo
3
4opt: pre
5        ocamlbuild -Is untrusted -tag debug extracted.cmx
6pre:
7        # The untrusted ones replace the extracted ones
8        rm -f set_adt.ml set_adt.mli
9        # Uses a GNU sed extension
10        for i in `ls *.ml untrusted/*.ml`; do basename $$i | sed -e 's/\(.\)\(.*\)\.ml/\U\1\E\2/'; done > extracted.mlpack
11        for i in `ls *.ml untrusted/*.ml`; do echo "<"$${i%%.ml}".cmx>: for-pack(Extracted)"; done > _tags
12
13
14clean:
15        ocamlbuild -clean
Note: See TracBrowser for help on using the repository browser.