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/file2c/source/Makefile | |
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/file2c/source/Makefile')
-rw-r--r-- | tools/file2c/source/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
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) + |