From c9e4511e379d7701aebceeeb8b2a74e889a2910e Mon Sep 17 00:00:00 2001 From: Alcaro Date: Thu, 8 Sep 2016 18:23:26 +0200 Subject: [PATCH] Revert "Append _debug to debug builds and add file to .gitignore" --- .gitignore | 1 - Makefile | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index db09baba85..d93773a455 100644 --- a/.gitignore +++ b/.gitignore @@ -11,7 +11,6 @@ config.log /retroarch /retroarch.cfg /retroarch.exe -/retroarch_debug.exe /config.h /config.mk /tools/retroarch-joyconfig diff --git a/Makefile b/Makefile index d6c80fc2cd..160cffd948 100644 --- a/Makefile +++ b/Makefile @@ -131,11 +131,7 @@ endif retroarch: $(RARCH_OBJ) @$(if $(Q), $(shell echo echo LD $@),) -ifeq ($(DEBUG), 1) - $(Q)$(LINK) -o $@_debug $(RARCH_OBJ) $(LIBS) $(LDFLAGS) $(LIBRARY_DIRS) -else - $(Q)$(LINK) -o $@ $(RARCH_OBJ) $(LIBS) $(LDFLAGS) $(LIBRARY_DIRS) -endif + $(Q)$(LINK) -o $@ $(RARCH_OBJ) $(LIBS) $(LDFLAGS) $(LIBRARY_DIRS) $(OBJDIR)/%.o: %.c config.h config.mk @mkdir -p $(dir $@)