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