summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/Makefile')
-rw-r--r--apps/plugins/lib/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/lib/Makefile b/apps/plugins/lib/Makefile
index 7ff79b5342..45de4b32e9 100644
--- a/apps/plugins/lib/Makefile
+++ b/apps/plugins/lib/Makefile
@@ -18,6 +18,9 @@ FIRMWARE = ../../../firmware
18# Check if this is a kind of Recorder 18# Check if this is a kind of Recorder
19ANYREC = $(findstring RECORDER, $(TARGET)) 19ANYREC = $(findstring RECORDER, $(TARGET))
20 20
21# Check if this is an Ondio model
22ANYONDIO = $(findstring ONDIO, $(TARGET))
23
21# ../.. for the plugin.h in the apps dir 24# ../.. for the plugin.h in the apps dir
22# .. for stuff in the plugins dir 25# .. for stuff in the plugins dir
23# . for stuff in the pluginlib dir 26# . for stuff in the pluginlib dir
@@ -27,6 +30,11 @@ INCLUDES=-I../.. -I.. -I. -I$(FIRMWARE)/include -I$(FIRMWARE)/export \
27ifeq ($(ANYREC), RECORDER) 30ifeq ($(ANYREC), RECORDER)
28INCLUDES += -I../../recorder 31INCLUDES += -I../../recorder
29endif 32endif
33ifeq ($(ANYONDIO), ONDIO)
34# use the recorder tree for now
35INCLUDES += -I../../recorder
36endif
37
30 38
31CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes \ 39CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes \
32$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM} 40$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEM}