Changeset - r6308:d50b4b07c9cd
[Not reviewed]
master
0 1 0
truelight - 18 years ago 2007-03-15 13:17:54
truelight@openttd.org
(svn r9198) [Config] -Add: added 'make run-gdb' which starts gdb + OpenTTD + OPENTTD_ARGS for you
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
Makefile.in
Show inline comments
 
@@ -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/%=%); \
0 comments (0 inline, 0 general)