summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/Makefile b/firmware/Makefile
index 6a9aca303d..98507d979c 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -15,8 +15,10 @@ OC = sh-elf-objcopy
15 15
16INCLUDES=-Iinclude -I. -Icommon -Idrivers 16INCLUDES=-Iinclude -I. -Icommon -Idrivers
17 17
18# store output files in this directory: 18ifndef OBJDIR
19OBJDIR = . 19 "Don't run make in the firmware dir!"
20endif
21
20TOOLSDIR = ../tools 22TOOLSDIR = ../tools
21 23
22CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) 24CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES)