1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Linus Nielsen Feltzing 2004-07-08 13:12:16 +00:00
parent 5fd97fa2e9
commit e7bb8c0428
2 changed files with 14 additions and 0 deletions

View file

@ -23,12 +23,19 @@ endif
FIRMWARE = ../../../firmware
# Check if this is a kind of Recorder
ANYREC = $(findstring RECORDER, $(TARGET))
# ../.. for the plugin.h in the apps dir
# .. for stuff in the plugins dir
# . for stuff in the pluginlib dir
INCLUDES=-I../.. -I.. -I. -I$(FIRMWARE)/include -I$(FIRMWARE)/export \
-I$(FIRMWARE)/common -I$(FIRMWARE)/drivers
ifeq ($(ANYREC), RECORDER)
INCLUDES += -I../../recorder
endif
ifdef SIMULATOR
CFLAGS = -W -Wall -O -nostdlib -ffreestanding -Wstrict-prototypes \
$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DSIMULATOR