summaryrefslogtreecommitdiff
path: root/apps/plugins/lib
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r--apps/plugins/lib/Makefile4
-rw-r--r--apps/plugins/lib/SOURCES30
2 files changed, 32 insertions, 2 deletions
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