Debian Codegraph @

contrib/ZET/zet11/Makefile

raw
1 # =====================================================================
2 #
3 # MAKEFILE FOR THE HOL LIBRARY: ZET
4 #
5 # =====================================================================
6
7 # =====================================================================
8 #
9 # MAIN ENTRIES:
10 #
11 # make all : create theories and compile code
12 #
13 # make clean : remove theories and compiled code
14 #
15 # =====================================================================
16
17 # =====================================================================
18 # MACROS:
19 #
20 # Hol : the pathname of the version of hol used
21 # =====================================================================
22
23 Hol=../../hol
24
25 clean:
26 rm -f *_ml.o *_ml.l *.th
27 @echo "===> library zet: all object code and theory files deleted"
28
29 zet.th: mk_zet.ml
30 rm -f zet.th
31 echo 'set_flag(`abort_when_fail`,true);;'\
32 'loadt `mk_zet`;;'\
33 'quit();;' | ${Hol}
34
35 zet_tactics_ml.o: zet.th zet_tactics.ml
36 echo 'set_flag(`abort_when_fail`,true);;'\
37 'load_theory `zet`;;'\
38 'load_from_lib false `auxiliary` `functions`;;'\
39 'autoload_defs_and_thms `zet`;;'\
40 'compilet `zet_tactics`;;'\
41 'quit();;' | ${Hol}
42
43 zet_ind_ml.o: zet.th zet_ind.ml
44 echo 'set_flag(`abort_when_fail`,true);;'\
45 'load_theory `zet`;;'\
46 'load_from_lib false `auxiliary` `functions`;;'\
47 'autoload_defs_and_thms `zet`;;'\
48 'compilet `zet_ind`;;'\
49 'quit();;' | ${Hol}
50
51 all: zet.th zet_tactics_ml.o zet_ind_ml.o
52 @echo "===> library zet rebuilt"