diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-04-03 12:32:57 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2013-04-03 12:32:57 +0200 |
commit | 9b1dd95ff75aedd4982a988e3e3d603d33337570 (patch) | |
tree | 452feb5bc6fcb510c2edaa44a37eaf33f34fb83c /tools | |
parent | fb641b712ebca402d298310bd153680601eeef8b (diff) | |
download | uGFX-9b1dd95ff75aedd4982a988e3e3d603d33337570.tar.gz uGFX-9b1dd95ff75aedd4982a988e3e3d603d33337570.tar.bz2 uGFX-9b1dd95ff75aedd4982a988e3e3d603d33337570.zip |
file2c tool - Makefile, readme, linux binary
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/file2c/binaries/file2c | bin | 0 -> 10801 bytes | |||
-rw-r--r-- | tools/file2c/binaries/file2c.exe (renamed from tools/file2c/Binaries - Win32/file2c.exe) | bin | 9216 -> 9216 bytes | |||
-rw-r--r-- | tools/file2c/readme.txt | 5 | ||||
-rw-r--r-- | tools/file2c/source/Makefile | 15 | ||||
-rw-r--r-- | tools/file2c/source/VS 2012 Project/file2c.sln (renamed from tools/file2c/Source/VS 2012 Project/file2c.sln) | 0 | ||||
-rw-r--r-- | tools/file2c/source/VS 2012 Project/file2c.v11.suo (renamed from tools/file2c/Source/VS 2012 Project/file2c.v11.suo) | bin | 25600 -> 25600 bytes | |||
-rw-r--r-- | tools/file2c/source/VS 2012 Project/file2c/file2c.vcxproj (renamed from tools/file2c/Source/VS 2012 Project/file2c/file2c.vcxproj) | 0 | ||||
-rw-r--r-- | tools/file2c/source/VS 2012 Project/file2c/file2c.vcxproj.filters (renamed from tools/file2c/Source/VS 2012 Project/file2c/file2c.vcxproj.filters) | 0 | ||||
-rw-r--r-- | tools/file2c/source/VS 2012 Project/file2c/file2c.vcxproj.user (renamed from tools/file2c/Source/VS 2012 Project/file2c/file2c.vcxproj.user) | 0 | ||||
-rwxr-xr-x | tools/file2c/source/file2c | bin | 0 -> 10801 bytes | |||
-rw-r--r-- | tools/file2c/source/file2c.c (renamed from tools/file2c/Source/file2c.c) | 1 |
11 files changed, 21 insertions, 0 deletions
diff --git a/tools/file2c/binaries/file2c b/tools/file2c/binaries/file2c Binary files differnew file mode 100755 index 00000000..403c7d8f --- /dev/null +++ b/tools/file2c/binaries/file2c diff --git a/tools/file2c/Binaries - Win32/file2c.exe b/tools/file2c/binaries/file2c.exe Binary files differindex d1959ad6..d1959ad6 100644 --- a/tools/file2c/Binaries - Win32/file2c.exe +++ b/tools/file2c/binaries/file2c.exe diff --git a/tools/file2c/readme.txt b/tools/file2c/readme.txt index 54984111..884ed7e0 100644 --- a/tools/file2c/readme.txt +++ b/tools/file2c/readme.txt @@ -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 diff --git a/tools/file2c/source/Makefile b/tools/file2c/source/Makefile new file mode 100644 index 00000000..a6a7041c --- /dev/null +++ b/tools/file2c/source/Makefile @@ -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) + diff --git a/tools/file2c/Source/VS 2012 Project/file2c.sln b/tools/file2c/source/VS 2012 Project/file2c.sln index 5e067d5b..5e067d5b 100644 --- a/tools/file2c/Source/VS 2012 Project/file2c.sln +++ b/tools/file2c/source/VS 2012 Project/file2c.sln diff --git a/tools/file2c/Source/VS 2012 Project/file2c.v11.suo b/tools/file2c/source/VS 2012 Project/file2c.v11.suo Binary files differindex 586b2c04..586b2c04 100644 --- a/tools/file2c/Source/VS 2012 Project/file2c.v11.suo +++ b/tools/file2c/source/VS 2012 Project/file2c.v11.suo diff --git a/tools/file2c/Source/VS 2012 Project/file2c/file2c.vcxproj b/tools/file2c/source/VS 2012 Project/file2c/file2c.vcxproj index b0b846c7..b0b846c7 100644 --- a/tools/file2c/Source/VS 2012 Project/file2c/file2c.vcxproj +++ b/tools/file2c/source/VS 2012 Project/file2c/file2c.vcxproj diff --git a/tools/file2c/Source/VS 2012 Project/file2c/file2c.vcxproj.filters b/tools/file2c/source/VS 2012 Project/file2c/file2c.vcxproj.filters index 97daa75f..97daa75f 100644 --- a/tools/file2c/Source/VS 2012 Project/file2c/file2c.vcxproj.filters +++ b/tools/file2c/source/VS 2012 Project/file2c/file2c.vcxproj.filters diff --git a/tools/file2c/Source/VS 2012 Project/file2c/file2c.vcxproj.user b/tools/file2c/source/VS 2012 Project/file2c/file2c.vcxproj.user index a375ae35..a375ae35 100644 --- a/tools/file2c/Source/VS 2012 Project/file2c/file2c.vcxproj.user +++ b/tools/file2c/source/VS 2012 Project/file2c/file2c.vcxproj.user diff --git a/tools/file2c/source/file2c b/tools/file2c/source/file2c Binary files differnew file mode 100755 index 00000000..403c7d8f --- /dev/null +++ b/tools/file2c/source/file2c diff --git a/tools/file2c/Source/file2c.c b/tools/file2c/source/file2c.c index d2b862e6..10fcc446 100644 --- a/tools/file2c/Source/file2c.c +++ b/tools/file2c/source/file2c.c @@ -150,3 +150,4 @@ size_t i; return 0; } + |