diff --git a/templates/cmake/application/CMakeLists.txt b/templates/cmake/application/CMakeLists.txt index de81a0d..e029586 100644 --- a/templates/cmake/application/CMakeLists.txt +++ b/templates/cmake/application/CMakeLists.txt @@ -8,7 +8,7 @@ target_sources(${PROJECT_NAME} PRIVATE source/main.c ) -target_compile_options(${PROJECT_NAME} PRIVATE -Wall) +target_compile_options(${PROJECT_NAME} PRIVATE -fexec-charset=CP437 -Wall) target_include_directories(${PROJECT_NAME} PRIVATE include diff --git a/templates/makefile/application/Makefile b/templates/makefile/application/Makefile index ad42dc9..3a2a2fe 100644 --- a/templates/makefile/application/Makefile +++ b/templates/makefile/application/Makefile @@ -25,7 +25,7 @@ INCLUDES := # options for code generation #--------------------------------------------------------------------------------- -CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) +CFLAGS = -g -O2 -fexec-charset=CP437 -Wall $(MACHDEP) $(INCLUDE) CXXFLAGS = $(CFLAGS) LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map