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
commit86ed4bb25f76a4d5c48f3b49e99cbefa289f058e (patch)
tree353689cb63010e83f5d142de24037c9bcb9445e0
parent5191183f22e2550cc4532e94d93c7892f284f5ef (diff)
downloadopenttd-86ed4bb25f76a4d5c48f3b49e99cbefa289f058e.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 \