diff options
-rw-r--r-- | bin/.gitignore | 5 | ||||
-rw-r--r-- | makefile | 20 | ||||
-rw-r--r-- | src/agent.prolog (renamed from agent.prolog) | 0 | ||||
-rw-r--r-- | src/command.prolog (renamed from command.prolog) | 0 | ||||
-rw-r--r-- | src/main.prolog (renamed from main.prolog) | 0 | ||||
-rw-r--r-- | src/map.prolog (renamed from map.prolog) | 0 | ||||
-rw-r--r-- | src/misc.prolog (renamed from misc.prolog) | 0 | ||||
-rw-r--r-- | src/parser.prolog (renamed from parser.prolog) | 0 |
8 files changed, 25 insertions, 0 deletions
diff --git a/bin/.gitignore b/bin/.gitignore new file mode 100644 index 0000000..ce82cfb --- /dev/null +++ b/bin/.gitignore @@ -0,0 +1,5 @@ + +# directory for binaries; no files will be tracked here + +* +!.gitignore diff --git a/makefile b/makefile new file mode 100644 index 0000000..2adaf2a --- /dev/null +++ b/makefile @@ -0,0 +1,20 @@ + +OUTPUTDIR = bin +SOURCEDIR = src + +EXECUTABLES = ${OUTPUTDIR}/wumpus + + + +all: huntthewumpus + + +clean: + +distclean: + rm ${EXECUTABLES} + + + +huntthewumpus: + prolog --goal=play --stand_alone=true -o ${OUTPUTDIR}/wumpus -c ${SOURCEDIR}/main.prolog diff --git a/agent.prolog b/src/agent.prolog index 4085bf9..4085bf9 100644 --- a/agent.prolog +++ b/src/agent.prolog diff --git a/command.prolog b/src/command.prolog index f897735..f897735 100644 --- a/command.prolog +++ b/src/command.prolog diff --git a/main.prolog b/src/main.prolog index ef23f4f..ef23f4f 100644 --- a/main.prolog +++ b/src/main.prolog diff --git a/map.prolog b/src/map.prolog index f5bb863..f5bb863 100644 --- a/map.prolog +++ b/src/map.prolog diff --git a/misc.prolog b/src/misc.prolog index 6d8ad68..6d8ad68 100644 --- a/misc.prolog +++ b/src/misc.prolog diff --git a/parser.prolog b/src/parser.prolog index c9f9771..c9f9771 100644 --- a/parser.prolog +++ b/src/parser.prolog |