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.'
|