aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2020-12-13 21:40:16 +1300
committerDavid Phillips <david@yeah.nah.nz>2020-12-13 21:40:16 +1300
commitc641cf65258f6b7a4ba6c0434edaaf889b39717a (patch)
tree5745478b030cc005aaa9f71a6c81fd349bc1a9bb /Makefile
parent5eaf06d25c23a33a4e921161e9f0786a88e2948f (diff)
downloadaltimeter-c641cf65258f6b7a4ba6c0434edaaf889b39717a.tar.xz
Remove unneeded variables
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 400aeff..3c15800 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,8 @@ QEMU_AVR ?= qemu-system-avr
MCU ?= atmega32u4
SIM_MCU ?= atmega2560
-CFLAGS += -DF_CPU=16000000UL -mmcu=$(MCU) -O3
-SIM_CFLAGS += -DF_CPU=16000000UL -mmcu=$(SIM_MCU) -g3 -gdwarf-2 -DWDT_DISABLE
+CFLAGS += -Wall -Wextra -DF_CPU=16000000UL -mmcu=$(MCU) -O3
+SIM_CFLAGS += -Wall -Wextra -DF_CPU=16000000UL -mmcu=$(SIM_MCU) -g3 -gdwarf-2 -DWDT_DISABLE
$(shell mkdir -p build/{real,sim})