X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=avr-makefile.inc;h=741ede554e0e0b360918ce1899c06795835e07fe;hb=d6a35f05fd2b5ee79d5ad8424434ad1a068be453;hp=d40f6c76258ccf01bb501b999091938da5e27033;hpb=5ea7340f82f23ba9ccc8fc277623cc3cfff8ad86;p=avr-crypto-lib.git diff --git a/avr-makefile.inc b/avr-makefile.inc index d40f6c7..741ede5 100644 --- a/avr-makefile.inc +++ b/avr-makefile.inc @@ -17,8 +17,9 @@ TESTPREFIX = nessie- LIST_DIR = listings/ STAT_DIR = stats/ CC = avr-gcc +CSTD = c99 -override CFLAGS = -MMD -MF$(DEP_DIR)$(patsubst %.c,%.d,$(patsubst $(TESTSRC_DIR)%,%,$<)) -I. -gdwarf-2 -pedantic -std=c99 -Wall -Wstrict-prototypes $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS) +override CFLAGS = -MMD -MF$(DEP_DIR)$(patsubst %.c,%.d,$(patsubst $(TESTSRC_DIR)%,%,$<)) -I. -gdwarf-2 -pedantic -std=$(CSTD) -Wall -Wstrict-prototypes $(OPTIMIZE) -mmcu=$(MCU_TARGET) $(DEFS) override LDFLAGS = -gdwarf-2 -Wl,-Map, override ASFLAGS = -mmcu=$(MCU_TARGET) -Wa,--gdwarf-2