From 46048394acb7f6441a362c41cc16b7d7d31ba210 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 11 May 2017 21:51:54 -0500 Subject: add LDFLAGS variable to tools makefiles --- tools/bin2c/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/bin2c') diff --git a/tools/bin2c/Makefile b/tools/bin2c/Makefile index eee19af22..715668eba 100644 --- a/tools/bin2c/Makefile +++ b/tools/bin2c/Makefile @@ -7,7 +7,7 @@ CFLAGS = -Wall -Wextra -std=c11 -O2 SRCS = bin2c.c bin2c: $(SRCS) - $(CC) $(CFLAGS) $(SRCS) -o $@ + $(CC) $(CFLAGS) $(SRCS) -o $@ $(LDFLAGS) clean: $(RM) bin2c bin2c.exe -- cgit v1.2.3 From 543820c7264ad7f2cc206602e88f2172735bbcd3 Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Thu, 11 May 2017 21:57:48 -0500 Subject: strip debugging symbols from tools --- tools/bin2c/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/bin2c') diff --git a/tools/bin2c/Makefile b/tools/bin2c/Makefile index 715668eba..bd5f60490 100644 --- a/tools/bin2c/Makefile +++ b/tools/bin2c/Makefile @@ -1,6 +1,6 @@ CC = gcc -CFLAGS = -Wall -Wextra -std=c11 -O2 +CFLAGS = -Wall -Wextra -std=c11 -O2 -s .PHONY: clean -- cgit v1.2.3