File: Makefile

package info (click to toggle)
hol88 2.02.19940316-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 63,052 kB
  • ctags: 19,365
  • sloc: ml: 199,939; ansic: 9,300; sh: 7,118; makefile: 6,076; lisp: 2,747; yacc: 894; sed: 201; cpp: 87; awk: 5
file content (55 lines) | stat: -rw-r--r-- 1,561 bytes parent folder | download | duplicates (11)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Generated parser Makefile

# Version of HOL to be used:
HOL=/usr/groups/hol/hol_12/hol

# General definitions for all generated parsers:
GENERAL=/usr/groups/hol/hol_12/Library/parser/general

# Insert entries for user-defined stuff here:
# Remember to insert the appropriate dependencies and "load"'s below.
term_help_ml.o: term_help.ml
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'loadf `$(GENERAL)`;;'\
	     'compilet `term_help`;;'\
	     'quit();;' | $(HOL)

# Now compile the declarations:
type_decls_ml.o: term_help_ml.o type_decls.ml
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'loadf `$(GENERAL)`;;'\
	     'loadf `term_help`;;'\
	     'compilet `type_decls`;;'\
	     'quit();;' | $(HOL)

term_decls_ml.o: type_decls_ml.o term_decls.ml
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'loadf `$(GENERAL)`;;'\
	     'loadf `term_help`;;'\
	     'loadf `type_decls`;;'\
	     'compilet `term_decls`;;'\
	     'quit();;' | $(HOL)

# Finally do the actual functions
type_ml.o: term_decls_ml.o type.ml
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'loadf `$(GENERAL)`;;'\
	     'loadf `term_help`;;'\
	     'loadf `type_decls`;;'\
	     'loadf `term_decls`;;'\
	     'compilet `type`;;'\
	     'quit();;' | $(HOL)

term_ml.o: term.ml type_ml.o
	echo 'set_flag(`abort_when_fail`,true);;'\
	     'loadf `$(GENERAL)`;;'\
	     'loadf `term_help`;;'\
	     'loadf `type_decls`;;'\
	     'loadf `term_decls`;;'\
	     'loadf `type`;;'\
	     'compilet `term`;;'\
	     'quit();;' | $(HOL)

all:: term_ml.o
	@echo '===> Parser "term" built.'