diff options
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r-- | apps/plugins/lib/Makefile | 4 | ||||
-rw-r--r-- | apps/plugins/lib/SOURCES | 30 |
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 | |||
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 | ||