]> git.donarmstrong.com Git - qmk_firmware.git/blob - tmk_core/native.mk
[Keyboard] leds in default keymap (#6357)
[qmk_firmware.git] / tmk_core / native.mk
1 SYSTEM_TYPE := $(shell gcc -dumpmachine)
2
3 CC = gcc
4 OBJCOPY = 
5 OBJDUMP = 
6 SIZE = 
7 AR = 
8 NM = 
9 HEX = 
10 EEP = 
11 BIN =
12
13
14 COMPILEFLAGS += -funsigned-char
15 COMPILEFLAGS += -funsigned-bitfields
16 COMPILEFLAGS += -ffunction-sections
17 COMPILEFLAGS += -fdata-sections
18 COMPILEFLAGS += -fshort-enums
19 ifneq ($(findstring mingw, ${SYSTEM_TYPE}),)
20 COMPILEFLAGS += -mno-ms-bitfields
21 endif
22
23 CFLAGS += $(COMPILEFLAGS)
24 CFLAGS += -fno-inline-small-functions
25 CFLAGS += -fno-strict-aliasing
26
27 CPPFLAGS += $(COMPILEFLAGS)
28 CPPFLAGS += -fno-exceptions
29 CPPFLAGS += -std=gnu++11