blob: 727b38d95fbd9aaa1d506a68e2226d09343320e7 (
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
|
# OCAMLC = ocamlcp -p a
OCAMLBCFLAGS = -w A
YFLAGS = -v
TRASH = parser.output TAGS
RESULT = perl_checker
BCSUFFIX = _debug
SOURCES = build.ml common.ml flags.ml config_file.ml types.mli info.ml parser_helper.ml parser.mly lexer.mll tree.ml global_checks.ml perl_checker.ml
LIBS = unix
VENDORLIB = $(shell dirname `pwd`)/perl_checker_fake_packages
NAME = shyant
default: TAGS build_ml build.ml debug-code native-code
build_ml:
rm -f build.ml
$(MAKE) build.ml
build.ml:
date '+let date = %s' > $@
echo 'let fake_packages_dir = "'$(VENDORLIB)'"' >> $@
tags:
ocamltags *.ml
TAGS:
ocamltags *.ml
-include OCamlMakefile
|