Debian Codegraph @

contrib/ZET/zet/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
27 @echo "===> library zet: all object code deleted"
28
29 clobber:
30 rm -f *_ml.o *_ml.l *.th
31 @echo "===> library zet: all object code and theory files deleted"
32
33 zet.th: mk_zet.ml
34 rm -f zet.th
35 echo 'set_flag(`abort_when_fail`,true);;'\
36 'loadt `mk_zet`;;'\
37 'quit();;' | ${Hol}
38
39 zet_tactics_ml.o: zet.th zet_tactics.ml
40 echo 'set_flag(`abort_when_fail`,true);;'\
41 'load_theory `zet`;;'\
42 'load_from_lib false `auxiliary` `functions`;;'\
43 'autoload_defs_and_thms `zet`;;'\
44 'compilet `zet_tactics`;;'\
45 'quit();;' | ${Hol}
46
47 zet_ind_ml.o: zet.th zet_ind.ml
48 echo 'set_flag(`abort_when_fail`,true);;'\
49 'load_theory `zet`;;'\
50 'load_from_lib false `auxiliary` `functions`;;'\
51 'autoload_defs_and_thms `zet`;;'\
52 'compilet `zet_ind`;;'\
53 'quit();;' | ${Hol}
54
55 all: zet.th zet_tactics_ml.o zet_ind_ml.o
56 @echo "===> library zet rebuilt"