summaryrefslogtreecommitdiff
path: root/tools/bin2c/Makefile
diff options
context:
space:
mode:
authorxenonnsmb <xenonnsmb@users.noreply.github.com>2017-12-03 19:55:01 -0600
committerxenonnsmb <xenonnsmb@users.noreply.github.com>2017-12-03 19:55:01 -0600
commite649e3d2481faef109006b9157eeb22e1bff9fe2 (patch)
tree3348ffb6bbe7358a4082059960ef6bea8cf7e636 /tools/bin2c/Makefile
parenteeaa59d8376045ddf008276e6c13c860f23eedaa (diff)
adding tools from pokeruby
Diffstat (limited to 'tools/bin2c/Makefile')
-rw-r--r--tools/bin2c/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/bin2c/Makefile b/tools/bin2c/Makefile
new file mode 100644
index 000000000..4cc23a25a
--- /dev/null
+++ b/tools/bin2c/Makefile
@@ -0,0 +1,13 @@
+CC = gcc
+
+CFLAGS = -Wall -Wextra -Werror -std=c11 -O2 -s
+
+.PHONY: clean
+
+SRCS = bin2c.c
+
+bin2c: $(SRCS)
+ $(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS)
+
+clean:
+ $(RM) bin2c bin2c.exe