summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2017-05-11 21:57:48 -0500
committercamthesaxman <cameronghall@cox.net>2017-05-11 21:57:48 -0500
commit543820c7264ad7f2cc206602e88f2172735bbcd3 (patch)
tree1447bd16c684614da4fc93c95841ef018b0c0b50
parent46048394acb7f6441a362c41cc16b7d7d31ba210 (diff)
strip debugging symbols from tools
-rw-r--r--tools/aif2pcm/Makefile2
-rw-r--r--tools/bin2c/Makefile2
-rw-r--r--tools/gbagfx/Makefile2
-rw-r--r--tools/mid2agb/Makefile2
-rw-r--r--tools/preproc/Makefile2
-rw-r--r--tools/ramscrgen/Makefile2
-rw-r--r--tools/rsfont/Makefile2
-rw-r--r--tools/scaninc/Makefile2
8 files changed, 8 insertions, 8 deletions
diff --git a/tools/aif2pcm/Makefile b/tools/aif2pcm/Makefile
index 7e7e116b2..611c0e2df 100644
--- a/tools/aif2pcm/Makefile
+++ b/tools/aif2pcm/Makefile
@@ -1,6 +1,6 @@
CC = gcc
-CFLAGS = -Wall -Wextra -Wno-switch -std=c11 -O2
+CFLAGS = -Wall -Wextra -Wno-switch -std=c11 -O2 -s
LIBS = -lm
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
diff --git a/tools/gbagfx/Makefile b/tools/gbagfx/Makefile
index 8ab033403..9a5dee1cc 100644
--- a/tools/gbagfx/Makefile
+++ b/tools/gbagfx/Makefile
@@ -1,6 +1,6 @@
CC = gcc
-CFLAGS = -Wall -Wextra -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK
+CFLAGS = -Wall -Wextra -std=c11 -O2 -s -DPNG_SKIP_SETJMP_CHECK
LIBS = -lpng -lz
diff --git a/tools/mid2agb/Makefile b/tools/mid2agb/Makefile
index 029432022..accd81882 100644
--- a/tools/mid2agb/Makefile
+++ b/tools/mid2agb/Makefile
@@ -1,6 +1,6 @@
CXX := g++
-CXXFLAGS := -std=c++11 -O2 -Wall -Wno-switch
+CXXFLAGS := -std=c++11 -O2 -s -Wall -Wno-switch
SRCS := agb.cpp error.cpp main.cpp midi.cpp tables.cpp
diff --git a/tools/preproc/Makefile b/tools/preproc/Makefile
index e5321afbd..1f4c58e21 100644
--- a/tools/preproc/Makefile
+++ b/tools/preproc/Makefile
@@ -1,6 +1,6 @@
CXX := g++
-CXXFLAGS := -std=c++11 -O2 -Wall -Wno-switch
+CXXFLAGS := -std=c++11 -O2 -s -Wall -Wno-switch
SRCS := asm_file.cpp c_file.cpp charmap.cpp preproc.cpp string_parser.cpp \
utf8.cpp
diff --git a/tools/ramscrgen/Makefile b/tools/ramscrgen/Makefile
index ef05a2d76..6c4ca28b6 100644
--- a/tools/ramscrgen/Makefile
+++ b/tools/ramscrgen/Makefile
@@ -1,6 +1,6 @@
CXX := g++
-CXXFLAGS := -std=c++11 -O2 -Wall -Wno-switch
+CXXFLAGS := -std=c++11 -O2 -s -Wall -Wno-switch
SRCS := main.cpp sym_file.cpp elf.cpp
diff --git a/tools/rsfont/Makefile b/tools/rsfont/Makefile
index 2bb57da97..544954bfc 100644
--- a/tools/rsfont/Makefile
+++ b/tools/rsfont/Makefile
@@ -1,6 +1,6 @@
CC = gcc
-CFLAGS = -Wall -Wextra -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK
+CFLAGS = -Wall -Wextra -std=c11 -O2 -s -DPNG_SKIP_SETJMP_CHECK
LIBS = -lpng -lz
diff --git a/tools/scaninc/Makefile b/tools/scaninc/Makefile
index 093b06032..d33dee6d2 100644
--- a/tools/scaninc/Makefile
+++ b/tools/scaninc/Makefile
@@ -1,6 +1,6 @@
CXX = g++
-CXXFLAGS = -Wall -std=c++11 -O2
+CXXFLAGS = -Wall -std=c++11 -O2 -s
SRCS = scaninc.cpp c_file.cpp asm_file.cpp