diff options
author | truelight <truelight@openttd.org> | 2007-03-15 13:17:54 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-03-15 13:17:54 +0000 |
commit | eff72d1962882a50de5a81bbc28a734baebf526d (patch) | |
tree | 38477b8590f02d34d2a266f64976655efa2bdff2 | |
parent | eb1e6c19ad233a4e1c1b5e37dc59f02db0692212 (diff) | |
download | openttd-eff72d1962882a50de5a81bbc28a734baebf526d.tar.xz |
(svn r9198) [Config] -Add: added 'make run-gdb' which starts gdb + OpenTTD + OPENTTD_ARGS for you
-rw-r--r-- | Makefile.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 66eac2c12..9476f06ed 100644 --- a/Makefile.in +++ b/Makefile.in @@ -96,6 +96,9 @@ depend: run: all $(Q)cd !!BIN_DIR!! && ./!!TTD!! $(OPENTTD_ARGS) +run-gdb: all + $(Q)cd !!BIN_DIR!! && gdb --ex run --args ./!!TTD!! $(OPENTTD_ARGS) + %.o: @for dir in $(SRC_DIRS); do \ $(MAKE) -C $$dir $(@:src/%=%); \ |