summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/makefile b/makefile
index 2adaf2a..e7bf9e0 100644
--- a/makefile
+++ b/makefile
@@ -4,6 +4,8 @@ SOURCEDIR = src
EXECUTABLES = ${OUTPUTDIR}/wumpus
+COMPILER = swipl
+
all: huntthewumpus
@@ -17,4 +19,4 @@ distclean:
huntthewumpus:
- prolog --goal=play --stand_alone=true -o ${OUTPUTDIR}/wumpus -c ${SOURCEDIR}/main.prolog
+ ${COMPILER} --goal=play --stand_alone=true -o ${OUTPUTDIR}/wumpus -c ${SOURCEDIR}/main.prolog