From: Robin Krens Date: Wed, 18 May 2022 17:31:56 +0000 (+0200) Subject: makefile: optimize for size X-Git-Url: https://robinkrens.nl/gitweb/?a=commitdiff_plain;h=afd98cc300893f7723ed8ad8fe1276a5dcef7a98;p=lra-as-sensor makefile: optimize for size --- diff --git a/Makefile b/Makefile index 9abe973..1ddb793 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ AVRSIZE = avr-size AVRDUDE = avrdude CPPFLAGS = -DF_CPU=$(F_CPU) -DBAUD=$(BAUD) -I. -CFLAGS = -O -g -Wall +CFLAGS = -Os -g -Wall CFLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums LDFLAGS = -Wl,-Map,hbc.map