make: change the clean rule to remove both release and debug objects.

This commit is contained in:
aliaspider 2018-01-30 17:57:54 +01:00
parent 27a133c4fd
commit 037b57a4bd

View File

@ -16,10 +16,12 @@ include config.mk
TARGET = retroarch
OBJDIR_BASE := obj-unix
ifeq ($(DEBUG), 1)
OBJDIR := obj-unix/debug
OBJDIR := $(OBJDIR_BASE)/debug
else
OBJDIR := obj-unix/release
OBJDIR := $(OBJDIR_BASE)/release
endif
OBJ :=
@ -236,7 +238,7 @@ uninstall:
rm -rf $(DESTDIR)$(ASSETS_DIR)/retroarch
clean:
rm -rf $(OBJDIR)
rm -rf $(OBJDIR_BASE)
rm -f $(TARGET)
rm -f *.d