Extract mainloop to own file.

This commit is contained in:
Simon Forman
2019-08-11 14:51:13 -07:00
parent 6bc1b5ec8b
commit 9e180e8173
3 changed files with 39 additions and 27 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
GPLC_OPTIONS="--min-size"
thun: thun.pl parser.pl defs.pl
gplc $(GPLC_OPTIONS) -o thun thun.pl parser.pl defs.pl
thun: thun.pl parser.pl defs.pl main.pl
gplc $(GPLC_OPTIONS) -o thun thun.pl parser.pl defs.pl main.pl
defs.pl: meta-defs.pl parser.pl defs.txt
gprolog --consult-file meta-defs.pl --consult-file parser.pl --query-goal do