diff options
-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/%=%); \ |