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 2cc7974..562d1fc 100644 --- a/apps/plugins/lib/Makefile +++ b/apps/plugins/lib/Makefile @@ -17,7 +17,7 @@ ifdef APPEXTRA INCLUDES += -I$(APPSDIR)/$(APPEXTRA) endif -CFLAGS = -W -Wall -O -m1 -nostdlib -ffreestanding -Wstrict-prototypes \ +CFLAGS = $(GCCOPTS) \ $(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} ifdef DEBUG @@ -26,7 +26,7 @@ else CFLAGS += -fomit-frame-pointer -fschedule-insns endif -SRC := $(wildcard *.c) +SRC := $(shell cat SOURCES | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) $(TARGET) $(DEFINES) -E -P -include "config.h" - ) SOURCES = $(SRC) OBJS := $(SRC:%.c=$(OBJDIR)/%.o) DEPFILE = $(OBJDIR)/dep-pluginlib diff --git a/apps/plugins/lib/SOURCES b/apps/plugins/lib/SOURCES new file mode 100644 index 0000000..31467cc --- /dev/null +++ b/apps/plugins/lib/SOURCES @@ -0,0 +1,30 @@ +configfile.c +gray_black_display.c +gray_blockfuncs.c +gray_clear_display.c +gray_core.c +gray_deferred_update.c +gray_drawbitmap.c +gray_drawgraymap.c +gray_drawline.c +gray_drawpixel.c +gray_drawrect.c +gray_fillrect.c +gray_getstringsize.c +gray_horline.c +gray_pixelfuncs.c +gray_position_display.c +gray_putsxy.c +gray_screendump.c +gray_scroll_down.c +gray_scroll_down8.c +gray_scroll_left.c +gray_scroll_right.c +gray_scroll_up.c +gray_scroll_up8.c +gray_set_background.c +gray_set_drawinfo.c +gray_set_drawmode.c +gray_set_foreground.c +gray_setfont.c +gray_verline.c |