Debian Codegraph @

contrib/koenig/Makefile

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