mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-27 03:28:46 +06:00
24 lines
417 B
Makefile
24 lines
417 B
Makefile
|
CC = gcc
|
||
|
OBJCOPY =
|
||
|
OBJDUMP =
|
||
|
SIZE =
|
||
|
AR =
|
||
|
NM =
|
||
|
HEX =
|
||
|
EEP =
|
||
|
BIN =
|
||
|
|
||
|
|
||
|
COMPILEFLAGS += -funsigned-char
|
||
|
COMPILEFLAGS += -funsigned-bitfields
|
||
|
COMPILEFLAGS += -ffunction-sections
|
||
|
COMPILEFLAGS += -fdata-sections
|
||
|
COMPILEFLAGS += -fshort-enums
|
||
|
|
||
|
CFLAGS += $(COMPILEFLAGS)
|
||
|
CFLAGS += -fno-inline-small-functions
|
||
|
CFLAGS += -fno-strict-aliasing
|
||
|
|
||
|
CPPFLAGS += $(COMPILEFLAGS)
|
||
|
CPPFLAGS += -fno-exceptions
|
||
|
CPPFLAGS += -std=gnu++11
|