2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 INCLUDES
= -I
$(FIRMDIR
)/include -I
$(FIRMDIR
)/export -I.
-I
$(BUILDDIR
) \
12 CFLAGS
= $(GCCOPTS
) $(INCLUDES
) $(TARGET
) $(EXTRA_DEFINES
)
14 # This sets up 'SRC' based on the files mentioned in SOURCES
15 include $(TOOLSDIR
)/makesrc.inc
18 CSRC
:= $(SRC
:%.bmp
=$(OBJDIR
)/%.c
)
19 OBJS
:= $(CSRC
:%.c
=%.o
)
20 DEPFILE
= $(OBJDIR
)/dep-bitmaps-mono
22 BMP2RB
= $(BMP2RB_MONO
)
23 OUTPUT
= $(BUILDDIR
)/libbitmapsmono.a
24 BMPINCDIR
= $(BUILDDIR
)/bitmaps
26 include $(TOOLSDIR
)/makebmp.inc
29 $(call PRINTS
,cleaning bitmaps
/mono
)rm -f
$(CSRC
) $(OBJS
) $(OUTPUT
) $(DEPFILE
)
30 $(SILENT
)rmdir
$(OBJDIR
)