summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/Makefile9
-rw-r--r--apps/plugins/SOURCES41
-rw-r--r--apps/plugins/lib/Makefile4
-rw-r--r--apps/plugins/lib/SOURCES30
4 files changed, 78 insertions, 6 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index caa2775e12..5071f07668 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -8,9 +8,9 @@
8# 8#
9 9
10INCLUDES = -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I$(FIRMDIR)/common \ 10INCLUDES = -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I$(FIRMDIR)/common \
11-I$(FIRMDIR)/drivers -I$(APPSDIR) -Ilib 11 -I$(FIRMDIR)/drivers -I$(APPSDIR) -Ilib
12CFLAGS = -O -W -Wall -m1 -nostdlib -ffreestanding -Wstrict-prototypes \ 12CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) \
13$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} -DPLUGIN 13 -DMEM=${MEMORYSIZE} -DPLUGIN
14 14
15ifdef APPEXTRA 15ifdef APPEXTRA
16 INCLUDES += -I$(APPSDIR)/$(APPEXTRA) 16 INCLUDES += -I$(APPSDIR)/$(APPEXTRA)
@@ -20,7 +20,8 @@ LDS := plugin.lds
20LINKFILE := $(OBJDIR)/pluginlink.lds 20LINKFILE := $(OBJDIR)/pluginlink.lds
21DEPFILE = $(OBJDIR)/dep-plugins 21DEPFILE = $(OBJDIR)/dep-plugins
22 22
23SRC := $(wildcard *.c) 23SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) \
24 $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - )
24ROCKS := $(SRC:%.c=$(OBJDIR)/%.rock) 25ROCKS := $(SRC:%.c=$(OBJDIR)/%.rock)
25SOURCES = $(SRC) 26SOURCES = $(SRC)
26ELFS := $(SRC:%.c=$(OBJDIR)/%.elf) 27ELFS := $(SRC:%.c=$(OBJDIR)/%.elf)
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES
new file mode 100644
index 0000000000..c5923ae843
--- /dev/null
+++ b/apps/plugins/SOURCES
@@ -0,0 +1,41 @@
1battery_test.c
2bounce.c
3calculator.c
4calendar.c
5chessclock.c
6chip8.c
7clock.c
8cube.c
9euroconverter.c
10favorites.c
11firmware_flash.c
12flipit.c
13grayscale.c
14helloworld.c
15jackpot.c
16jpeg.c
17mandelbrot.c
18metronome.c
19minesweeper.c
20mosaique.c
21nim.c
22oscillograph.c
23pong.c
24rockblox.c
25rockbox_flash.c
26search.c
27sliding_puzzle.c
28snake.c
29snake2.c
30snow.c
31sokoban.c
32solitaire.c
33sort.c
34splitedit.c
35star.c
36stopwatch.c
37vbrfix.c
38video.c
39viewer.c
40vu_meter.c
41wormlet.c
diff --git a/apps/plugins/lib/Makefile b/apps/plugins/lib/Makefile
index 2cc7974770..562d1fc931 100644
--- a/apps/plugins/lib/Makefile
+++ b/apps/plugins/lib/Makefile
@@ -17,7 +17,7 @@ ifdef APPEXTRA
17INCLUDES += -I$(APPSDIR)/$(APPEXTRA) 17INCLUDES += -I$(APPSDIR)/$(APPEXTRA)
18endif 18endif
19 19
20CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes \ 20CFLAGS = $(GCCOPTS) \
21$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} 21$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE}
22 22
23ifdef DEBUG 23ifdef DEBUG
@@ -26,7 +26,7 @@ else
26CFLAGS += -fomit-frame-pointer -fschedule-insns 26CFLAGS += -fomit-frame-pointer -fschedule-insns
27endif 27endif
28 28
29SRC := $(wildcard *.c) 29SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - )
30SOURCES = $(SRC) 30SOURCES = $(SRC)
31OBJS := $(SRC:%.c=$(OBJDIR)/%.o) 31OBJS := $(SRC:%.c=$(OBJDIR)/%.o)
32DEPFILE = $(OBJDIR)/dep-pluginlib 32DEPFILE = $(OBJDIR)/dep-pluginlib
diff --git a/apps/plugins/lib/SOURCES b/apps/plugins/lib/SOURCES
new file mode 100644
index 0000000000..31467cca50
--- /dev/null
+++ b/apps/plugins/lib/SOURCES
@@ -0,0 +1,30 @@
1configfile.c
2gray_black_display.c
3gray_blockfuncs.c
4gray_clear_display.c
5gray_core.c
6gray_deferred_update.c
7gray_drawbitmap.c
8gray_drawgraymap.c
9gray_drawline.c
10gray_drawpixel.c
11gray_drawrect.c
12gray_fillrect.c
13gray_getstringsize.c
14gray_horline.c
15gray_pixelfuncs.c
16gray_position_display.c
17gray_putsxy.c
18gray_screendump.c
19gray_scroll_down.c
20gray_scroll_down8.c
21gray_scroll_left.c
22gray_scroll_right.c
23gray_scroll_up.c
24gray_scroll_up8.c
25gray_set_background.c
26gray_set_drawinfo.c
27gray_set_drawmode.c
28gray_set_foreground.c
29gray_setfont.c
30gray_verline.c