Build defs.pl from defs.txt.

This commit is contained in:
Simon Forman
2019-08-10 22:03:44 -07:00
parent 90bccece6a
commit e49b0b70cb
5 changed files with 9 additions and 28 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
GPLC_OPTIONS="--min-size"
thun: thun.pl parser.pl defs.pl
gplc $(GPLC_OPTIONS) -o thun thun.pl parser.pl
gplc $(GPLC_OPTIONS) -o thun thun.pl parser.pl defs.pl
defs.pl: meta-defs.pl parser.pl defs.txt
gprolog --consult-file meta-defs.pl --consult-file parser.pl --query-goal do > defs.pl
gprolog --consult-file meta-defs.pl --consult-file parser.pl --query-goal do