From 7e81c50bae4e74ce81e896511e485c8ca3c13f23 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 11 Mar 2016 21:29:09 +0100 Subject: Add german info/error strings (Use "LANG=DE make") --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3