mirror of
https://github.com/libretro/RetroArch
synced 2025-02-12 00:40:26 +00:00
Merge pull request #3539 from spec-chum/_debug
Append _debug to debug builds and add file to .gitignore
This commit is contained in:
commit
bf68c549cc
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,6 +11,7 @@ config.log
|
|||||||
/retroarch
|
/retroarch
|
||||||
/retroarch.cfg
|
/retroarch.cfg
|
||||||
/retroarch.exe
|
/retroarch.exe
|
||||||
|
/retroarch_debug.exe
|
||||||
/config.h
|
/config.h
|
||||||
/config.mk
|
/config.mk
|
||||||
/tools/retroarch-joyconfig
|
/tools/retroarch-joyconfig
|
||||||
|
6
Makefile
6
Makefile
@ -131,7 +131,11 @@ endif
|
|||||||
|
|
||||||
retroarch: $(RARCH_OBJ)
|
retroarch: $(RARCH_OBJ)
|
||||||
@$(if $(Q), $(shell echo echo LD $@),)
|
@$(if $(Q), $(shell echo echo LD $@),)
|
||||||
$(Q)$(LINK) -o $@ $(RARCH_OBJ) $(LIBS) $(LDFLAGS) $(LIBRARY_DIRS)
|
ifeq ($(DEBUG), 1)
|
||||||
|
$(Q)$(LINK) -o $@_debug $(RARCH_OBJ) $(LIBS) $(LDFLAGS) $(LIBRARY_DIRS)
|
||||||
|
else
|
||||||
|
$(Q)$(LINK) -o $@ $(RARCH_OBJ) $(LIBS) $(LDFLAGS) $(LIBRARY_DIRS)
|
||||||
|
endif
|
||||||
|
|
||||||
$(OBJDIR)/%.o: %.c config.h config.mk
|
$(OBJDIR)/%.o: %.c config.h config.mk
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user