summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-03-08 12:40:45 +0000
committertruelight <truelight@openttd.org>2007-03-08 12:40:45 +0000
commit194f51eea4fcef05a3184e5be8042a28071676ed (patch)
tree353689cb63010e83f5d142de24037c9bcb9445e0
parent0fd907e0ec9f1356c8a358b411080ded2c9f3362 (diff)
downloadopenttd-194f51eea4fcef05a3184e5be8042a28071676ed.tar.xz
(svn r9063) -Add: allow OPENTTD_ARGS as env-option for 'make run'. 'OPENTTD_ARGS="-snull" make run' now runs ./openttd -snull in correct dir.
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index c237bc0eb..0b9a48788 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -94,7 +94,7 @@ depend:
done
run: all
- $(Q)cd !!BIN_DIR!! && ./!!TTD!!
+ $(Q)cd !!BIN_DIR!! && ./!!TTD!! $(OPENTTD_ARGS)
%.o:
@for dir in $(SRC_DIRS); do \