diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2004-10-04 13:03:33 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2004-10-04 13:03:33 +0000 |
| commit | 9c859417864becc547ec147a736151ed733f6dcf (patch) | |
| tree | 3bb156a729f4312e6fe546948797f0a2f126a042 /apps/plugins/lib | |
| parent | 235b50b42d85c2723bd1df2636edab876fea37c1 (diff) | |
| download | rockbox-9c859417864becc547ec147a736151ed733f6dcf.zip rockbox-9c859417864becc547ec147a736151ed733f6dcf.tar.gz rockbox-9c859417864becc547ec147a736151ed733f6dcf.tar.bz2 rockbox-9c859417864becc547ec147a736151ed733f6dcf.tar.xz | |
new SOURCES file that specifies which files to build in each dir, use
config.h preprocessor symbols to make conditionals
use the GCCOPTS now specified in the root Makefile by configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5158 a1c6a512-1295-4272-9138-f99709370657
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 |