aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2016-06-10 16:01:35 +0200
committerLinus Nordberg <linus@nordberg.se>2016-06-10 16:01:35 +0200
commit4f229e0b1083154ee033ca9c2fd5c5367e1621ae (patch)
tree52915f5271f008149b8e24f77538be1e093d32ed
parent104c1c41f09fb3a1e7ed852bd14dd03c225308b8 (diff)
Compile with -std=gnu99 and -Wpedantic.
Can't use 'c99' since we're using asm().
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8ac277b..3764fe4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CC = avr-gcc
-CFLAGS = -Wall -Werror -mmcu=avr25 -D__AVR_ATtiny828__
+CFLAGS = -std=gnu99 -Wpedantic -Wall -Werror -mmcu=avr25 -D__AVR_ATtiny828__
OBJCOPY = avr-objcopy
all: tamper.hex