mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-18 21:18:10 +00:00
(svn r9198) [Config] -Add: added 'make run-gdb' which starts gdb + OpenTTD + OPENTTD_ARGS for you
This commit is contained in:
parent
eb1e6c19ad
commit
eff72d1962
@ -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/%=%); \
|
||||
|
Loading…
Reference in New Issue
Block a user