summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2013-01-04 09:45:26 +0100
committerJosep Torra <n770galaxy@gmail.com>2013-01-04 09:45:26 +0100
commit23ff1a7d967bff2d468762ad2a8c5f2eb730d359 (patch)
tree19c0f6a752362b358e9ccdc854c86a05a8fc6f73
parent1f80a252d48b3f6eed4469d60c7d109de46eb362 (diff)
Add a rule to download the vanila nethack source code
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dcbbe6c..5fa50e8 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,9 @@ endif
all: nethack-${NETHACK_VERSION}/src/nethack
+nethack-${NETHACK_VERSION_SHORT}-src.tgz:
+ wget http://downloads.sourceforge.net/project/nethack/nethack/${NETHACK_VERSION}/nethack-${NETHACK_VERSION_SHORT}-src.tgz
+
# -- unpack the directory
nethack-${NETHACK_VERSION}: nethack-${NETHACK_VERSION_SHORT}-src.tgz
tar -xzf $<