From 410c75bd06e2499cdb1175edaf7b9483df211a2c Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 30 Sep 2002 14:42:31 +0000 Subject: 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 --- firmware/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'firmware') 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 INCLUDES=-Iinclude -I. -Icommon -Idrivers -# store output files in this directory: -OBJDIR = . +ifndef OBJDIR + "Don't run make in the firmware dir!" +endif + TOOLSDIR = ../tools CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -- cgit v1.2.3