summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-03-11 21:29:09 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-03-11 21:29:09 +0100
commit7e81c50bae4e74ce81e896511e485c8ca3c13f23 (patch)
tree706366fc5ef4f4eef83d835fc4b70418739a1d8a /Makefile
parent8625fa013eb7b835215d7089ae8f182e47b04136 (diff)
Add german info/error strings (Use "LANG=DE make")
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a80b709..f0e1bd4 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,10 @@ SHARED_FLAGS = ${MCU_FLAGS} -I. -Os -Wall -Wextra -pedantic
SHARED_FLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
SHARED_FLAGS += -flto -mstrict-X
+ifeq (${LANG},DE)
+ SHARED_FLAGS += -DLANG_DE
+endif
+
CFLAGS += ${SHARED_FLAGS} -std=c11
CXXFLAGS += ${SHARED_FLAGS} -std=c++11 -fno-rtti -fno-exceptions