file2c tool - Makefile, readme, linux binary

ugfx_release_2.6
Joel Bodenmann 2013-04-03 12:32:57 +02:00
parent fb641b712e
commit 9b1dd95ff7
11 changed files with 21 additions and 0 deletions

Binary file not shown.

View File

@ -1,6 +1,11 @@
This utility converts a file (of any type) into a c array
so that it can be compiled into your project.
Please note that we don't take any responsibility for the
precompiled binaries at all. They are provided 'as is' without
any warranty.
For example:
file2c -cs test.bmp test-image.h

View File

@ -0,0 +1,15 @@
TARGET = file2c
SRCS = $(shell find -name '*.c')
OBJS = $(addsuffix .o,$(basename $(SRCS)))
CFLAGS = -Wall -p
CC = /usr/bin/gcc
RM = /bin/rm -f
all: clean
$(CC) $(CFLAGS) -o $(TARGET) $(SRCS)
clean:
$(RM) $(TARGET) $(OBJS)

Binary file not shown.

View File

@ -150,3 +150,4 @@ size_t i;
return 0;
}