summaryrefslogtreecommitdiff
path: root/tools/bin2c
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-05-20 15:16:41 -0400
committerGitHub <noreply@github.com>2017-05-20 15:16:41 -0400
commit9281b378095596896fce5be481fb40966226d955 (patch)
treebc59413cf7d9cdea39cc21ddd839e63159d5f3dc /tools/bin2c
parent184436635fdca28399d03e805814a0deda67d200 (diff)
parent543820c7264ad7f2cc206602e88f2172735bbcd3 (diff)
Merge pull request #293 from camthesaxman/tools_fix
- add LDFLAGS variable to tools makefiles - strip debugging symbols from tools
Diffstat (limited to 'tools/bin2c')
-rw-r--r--tools/bin2c/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/bin2c/Makefile b/tools/bin2c/Makefile
index eee19af22..bd5f60490 100644
--- a/tools/bin2c/Makefile
+++ b/tools/bin2c/Makefile
@@ -1,13 +1,13 @@
CC = gcc
-CFLAGS = -Wall -Wextra -std=c11 -O2
+CFLAGS = -Wall -Wextra -std=c11 -O2 -s
.PHONY: clean
SRCS = bin2c.c
bin2c: $(SRCS)
- $(CC) $(CFLAGS) $(SRCS) -o $@
+ $(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS)
clean:
$(RM) bin2c bin2c.exe