blob: 9f718c32a09356206254d4217d9dcafa820b818e (
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
30
31
32
33
34
|
# OCAMLC = ocamlcp -p a
OCAMLBCFLAGS = -g -w A -w e
YFLAGS = -v
TRASH = parser.output perl_checker.html TAGS
RESULT = perl_checker
BCSUFFIX = _debug
SOURCES = types.mli build.ml common.ml flags.ml config_file.ml info.ml parser_helper.ml parser.mly lexer.mll tree.ml global_checks.ml perl_checker.ml
LIBS = unix
fake_packages_dir = $(shell dirname `pwd`)/fake_packages
DEBUG = 1
default: TAGS build_ml build.ml debug-code native-code perl_checker.html
build_ml:
rm -f build.ml
$(MAKE) build.ml
build.ml:
date '+let date = "%s"' > $@
echo 'let fake_packages_dir = "'$(fake_packages_dir)'"' >> $@
echo 'let debugging = $(DEBUG) > 0' >> $@
%.html: %.html.pl
rm -f $@
perl $< > $@
chmod a-w $@
tags:
ocamltags *.ml
TAGS:
ocamltags *.ml
-include OCamlMakefile
|