summaryrefslogtreecommitdiff
path: root/apps/plugins/lib
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r--apps/plugins/lib/Makefile7
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
24FIRMWARE = ../../../firmware 24FIRMWARE = ../../../firmware
25 25
26# Check if this is a kind of Recorder
27ANYREC = $(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
29INCLUDES=-I../.. -I.. -I. -I$(FIRMWARE)/include -I$(FIRMWARE)/export \ 32INCLUDES=-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
35ifeq ($(ANYREC), RECORDER)
36INCLUDES += -I../../recorder
37endif
38
32ifdef SIMULATOR 39ifdef SIMULATOR
33CFLAGS = -W -Wall -O -nostdlib -ffreestanding -Wstrict-prototypes \ 40CFLAGS = -W -Wall -O -nostdlib -ffreestanding -Wstrict-prototypes \
34$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DSIMULATOR 41$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DSIMULATOR