From 8116b83086529199e53c52105fb3e0080db2386e Mon Sep 17 00:00:00 2001 From: Simon Forman Date: Tue, 13 Aug 2019 11:51:41 -0700 Subject: [PATCH] Minor cleanup. --- thun/gnu-prolog/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/thun/gnu-prolog/Makefile b/thun/gnu-prolog/Makefile index 781b1b2..e80ca25 100644 --- a/thun/gnu-prolog/Makefile +++ b/thun/gnu-prolog/Makefile @@ -2,8 +2,10 @@ GPLC_OPTIONS=--no-top-level #GPLC_OPTIONS= -thun: thun.pl parser.pl defs.pl main.pl math.pl DCG_basics.pl Makefile - gplc $(GPLC_OPTIONS) -o thun thun.pl parser.pl defs.pl main.pl DCG_basics.pl math.pl +THUN_DEPS=parser.pl defs.pl main.pl math.pl DCG_basics.pl + +thun: thun.pl $(THUN_DEPS) Makefile + gplc $(GPLC_OPTIONS) -o thun thun.pl $(THUN_DEPS) defs.pl: meta-defs.pl parser.pl defs.txt thun.pl DCG_basics.pl gprolog \ -- 2.11.0