diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-08 13:12:16 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-07-08 13:12:16 +0000 |
commit | e7bb8c04287ec8baf6f89dd4f169b00ccb7d7171 (patch) | |
tree | af8a0d5c7140cbe5e61fae39f4e98b6e6dff3673 /apps/plugins/lib | |
parent | 5fd97fa2e971562f24d6e0b61148eb3c35753c74 (diff) | |
download | rockbox-e7bb8c04287ec8baf6f89dd4f169b00ccb7d7171.tar.gz rockbox-e7bb8c04287ec8baf6f89dd4f169b00ccb7d7171.zip |
Added the apps/recorder dir to the include path for recorder builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4853 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r-- | apps/plugins/lib/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/lib/Makefile b/apps/plugins/lib/Makefile index dcab0ad749..df527d84f2 100644 --- a/apps/plugins/lib/Makefile +++ b/apps/plugins/lib/Makefile | |||
@@ -23,12 +23,19 @@ endif | |||
23 | 23 | ||
24 | FIRMWARE = ../../../firmware | 24 | FIRMWARE = ../../../firmware |
25 | 25 | ||
26 | # Check if this is a kind of Recorder | ||
27 | ANYREC = $(findstring RECORDER, $(TARGET)) | ||
28 | |||
26 | # ../.. for the plugin.h in the apps dir | 29 | # ../.. for the plugin.h in the apps dir |
27 | # .. for stuff in the plugins dir | 30 | # .. for stuff in the plugins dir |
28 | # . for stuff in the pluginlib dir | 31 | # . for stuff in the pluginlib dir |
29 | INCLUDES=-I../.. -I.. -I. -I$(FIRMWARE)/include -I$(FIRMWARE)/export \ | 32 | INCLUDES=-I../.. -I.. -I. -I$(FIRMWARE)/include -I$(FIRMWARE)/export \ |
30 | -I$(FIRMWARE)/common -I$(FIRMWARE)/drivers | 33 | -I$(FIRMWARE)/common -I$(FIRMWARE)/drivers |
31 | 34 | ||
35 | ifeq ($(ANYREC), RECORDER) | ||
36 | INCLUDES += -I../../recorder | ||
37 | endif | ||
38 | |||
32 | ifdef SIMULATOR | 39 | ifdef SIMULATOR |
33 | CFLAGS = -W -Wall -O -nostdlib -ffreestanding -Wstrict-prototypes \ | 40 | CFLAGS = -W -Wall -O -nostdlib -ffreestanding -Wstrict-prototypes \ |
34 | $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DSIMULATOR | 41 | $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DSIMULATOR |