summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/Makefile b/apps/Makefile
index aaf3147..319ed31 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -90,7 +90,11 @@ ifndef TOOLSDIR
TOOLSDIR=../tools
endif
+ifdef DEBUG
+all : $(OBJDIR)/rockbox.elf rocks
+else
all : $(OBJDIR)/$(OUTNAME) $(OBJDIR)/rockbox.ucl rocks
+endif
rocks:
$(MAKE) -C plugins TARGET=$(TARGET) DEBUG=$(DEBUG) OBJDIR=$(OBJDIR) VERSION=$(VERSION) EXTRA_DEFINES="$(EXTRA_DEFINES)" MEM=${MEM}