mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-19 05:30:04 +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
|
run: all
|
||||||
$(Q)cd !!BIN_DIR!! && ./!!TTD!! $(OPENTTD_ARGS)
|
$(Q)cd !!BIN_DIR!! && ./!!TTD!! $(OPENTTD_ARGS)
|
||||||
|
|
||||||
|
run-gdb: all
|
||||||
|
$(Q)cd !!BIN_DIR!! && gdb --ex run --args ./!!TTD!! $(OPENTTD_ARGS)
|
||||||
|
|
||||||
%.o:
|
%.o:
|
||||||
@for dir in $(SRC_DIRS); do \
|
@for dir in $(SRC_DIRS); do \
|
||||||
$(MAKE) -C $$dir $(@:src/%=%); \
|
$(MAKE) -C $$dir $(@:src/%=%); \
|
||||||
|
Loading…
Reference in New Issue
Block a user