diff options
Diffstat (limited to 'apps/Makefile')
-rw-r--r-- | apps/Makefile | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/apps/Makefile b/apps/Makefile index 3f106d10f6..1f9ab284fa 100644 --- a/apps/Makefile +++ b/apps/Makefile | |||
@@ -23,12 +23,24 @@ CODECS=build-codecs | |||
23 | endif | 23 | endif |
24 | 24 | ||
25 | # Set up the bitmap libraries | 25 | # Set up the bitmap libraries |
26 | BITMAPLIBS = $(BUILDDIR)/libbitmapsmono.a \ | 26 | BITMAPLIBS = |
27 | $(BUILDDIR)/libbitmapsnative.a \ | 27 | LINKBITMAPS = |
28 | $(BUILDDIR)/libbitmapsremotemono.a \ | 28 | ifneq ($(strip $(BMP2RB_MONO)),) |
29 | $(BUILDDIR)/libbitmapsremotenative.a | 29 | BITMAPLIBS += $(BUILDDIR)/libbitmapsmono.a |
30 | 30 | LINKBITMAPS += -lbitmapsmono | |
31 | LINKBITMAPS = -lbitmapsmono -lbitmapsnative -lbitmapsremotemono -lbitmapsremotenative | 31 | endif |
32 | ifneq ($(strip $(BMP2RB_NATIVE)),) | ||
33 | BITMAPLIBS += $(BUILDDIR)/libbitmapsnative.a | ||
34 | LINKBITMAPS += -lbitmapsnative | ||
35 | endif | ||
36 | ifneq ($(strip $(BMP2RB_REMOTEMONO)),) | ||
37 | BITMAPLIBS += $(BUILDDIR)/libbitmapsremotemono.a | ||
38 | LINKBITMAPS += -lbitmapsremotemono | ||
39 | endif | ||
40 | ifneq ($(strip $(BMP2RB_REMOTENATIVE)),) | ||
41 | BITMAPLIBS += $(BUILDDIR)/libbitmapsremotenative.a | ||
42 | LINKBITMAPS += -lbitmapsremotenative | ||
43 | endif | ||
32 | 44 | ||
33 | # This sets up 'SRC' based on the files mentioned in SOURCES | 45 | # This sets up 'SRC' based on the files mentioned in SOURCES |
34 | include $(TOOLSDIR)/makesrc.inc | 46 | include $(TOOLSDIR)/makesrc.inc |