diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-09-30 14:42:31 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-09-30 14:42:31 +0000 |
commit | 410c75bd06e2499cdb1175edaf7b9483df211a2c (patch) | |
tree | 1b7eb79f5df3048529118c106c3ed5aeed10527d /firmware | |
parent | 4324504d061daf8d1970801a1f365c95c54816af (diff) | |
download | rockbox-410c75bd06e2499cdb1175edaf7b9483df211a2c.tar.gz rockbox-410c75bd06e2499cdb1175edaf7b9483df211a2c.zip |
Crude kludge to prevent people from running 'make' in the apps and firmware dirs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2449 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/Makefile | 6 |
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 | ||
16 | INCLUDES=-Iinclude -I. -Icommon -Idrivers | 16 | INCLUDES=-Iinclude -I. -Icommon -Idrivers |
17 | 17 | ||
18 | # store output files in this directory: | 18 | ifndef OBJDIR |
19 | OBJDIR = . | 19 | "Don't run make in the firmware dir!" |
20 | endif | ||
21 | |||
20 | TOOLSDIR = ../tools | 22 | TOOLSDIR = ../tools |
21 | 23 | ||
22 | CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) | 24 | CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) |