diff options
author | Jed Barber <jjbarber@y7mail.com> | 2014-04-04 01:48:43 +1100 |
---|---|---|
committer | Jed Barber <jjbarber@y7mail.com> | 2014-04-04 01:48:43 +1100 |
commit | 19e66dbd8fd3bd66f286bbbcd7ce842d727a4422 (patch) | |
tree | 07f0d484b32c9792a5d18921048243d5ed924873 | |
parent | b2081e26122b3937f04caa62ec864fc343f83ef1 (diff) |
Makefile added, files reorganised
-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 |