summaryrefslogtreecommitdiffstats
path: root/apps/bitmaps/native/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/bitmaps/native/Makefile')
-rw-r--r--apps/bitmaps/native/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/apps/bitmaps/native/Makefile b/apps/bitmaps/native/Makefile
new file mode 100644
index 0000000000..17e9376dd9
--- /dev/null
+++ b/apps/bitmaps/native/Makefile
@@ -0,0 +1,32 @@
+# __________ __ ___.
+# Open \______ \ ____ ____ | | _\_ |__ _______ ___
+# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+# \/ \/ \/ \/ \/
+# $Id$
+#
+
+INCLUDES= -I$(FIRMDIR)/include -I$(FIRMDIR)/export -I. -I$(BUILDDIR) \
+ -I$(OBJDIR)
+CFLAGS = $(GCCOPTS) $(INCLUDES) $(TARGET) $(EXTRA_DEFINES)
+
+# This sets up 'SRC' based on the files mentioned in SOURCES
+include $(TOOLSDIR)/makesrc.inc
+
+SOURCES = $(SRC)
+CSRC := $(SRC:%.bmp=$(OBJDIR)/%.c)
+OBJS := $(CSRC:%.c=%.o)
+DEPFILE = $(OBJDIR)/dep-bitmaps-native
+
+BMP2RB = $(BMP2RB_NATIVE)
+OUTPUT = $(BUILDDIR)/libbitmapsnative.a
+
+include $(TOOLSDIR)/makebmp.inc
+
+clean:
+ @echo "cleaning bitmaps/native"
+ @rm -f $(CSRC) $(OBJS) $(OUTPUT) $(DEPFILE)
+ @rmdir $(OBJDIR)
+
+-include $(DEPFILE)