summaryrefslogtreecommitdiff
path: root/firmware/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/Makefile')
-rw-r--r--firmware/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index 066097aa83..b4075b3e7b 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -15,8 +15,6 @@ OC = sh-elf-objcopy
15 15
16INCLUDES=-Iinclude -I. -Iexport -Icommon -Idrivers 16INCLUDES=-Iinclude -I. -Iexport -Icommon -Idrivers
17 17
18TOOLSDIR = ../tools
19
20CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} 18CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM}
21 19
22ifndef MEM 20ifndef MEM
@@ -53,6 +51,11 @@ no_configure:
53 @echo "http://rockbox.haxx.se/docs/how_to_compile.html" 51 @echo "http://rockbox.haxx.se/docs/how_to_compile.html"
54endif 52endif
55 53
54ifndef TOOLSDIR
55no_toolsdir:
56 @echo "Rerun the configure script."
57endif
58
56all: $(OUTPUT) $(EXTRA_TARGETS) 59all: $(OUTPUT) $(EXTRA_TARGETS)
57 60
58$(OUTPUT): $(OBJS) 61$(OUTPUT): $(OBJS)