aboutsummaryrefslogtreecommitdiffstats
path: root/tools/file2c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/file2c')
-rwxr-xr-xtools/file2c/binaries/file2cbin0 -> 10801 bytes
-rw-r--r--tools/file2c/binaries/file2c.exe (renamed from tools/file2c/Binaries - Win32/file2c.exe)bin9728 -> 9728 bytes
-rw-r--r--tools/file2c/readme.txt5
-rw-r--r--tools/file2c/source/Makefile15
-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)bin25600 -> 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
-rw-r--r--tools/file2c/source/file2c.c (renamed from tools/file2c/Source/file2c.c)2
10 files changed, 22 insertions, 0 deletions
diff --git a/tools/file2c/binaries/file2c b/tools/file2c/binaries/file2c
new file mode 100755
index 00000000..403c7d8f
--- /dev/null
+++ b/tools/file2c/binaries/file2c
Binary files differ
diff --git a/tools/file2c/Binaries - Win32/file2c.exe b/tools/file2c/binaries/file2c.exe
index 333b1138..333b1138 100644
--- a/tools/file2c/Binaries - Win32/file2c.exe
+++ b/tools/file2c/binaries/file2c.exe
Binary files differ
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
index 38fa846c..38fa846c 100644
--- a/tools/file2c/Source/VS 2012 Project/file2c.v11.suo
+++ b/tools/file2c/source/VS 2012 Project/file2c.v11.suo
Binary files differ
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.c b/tools/file2c/source/file2c.c
index bf726cdf..29b9da2f 100644
--- a/tools/file2c/Source/file2c.c
+++ b/tools/file2c/source/file2c.c
@@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
@@ -190,3 +191,4 @@ size_t i;
return 0;
}
+