summaryrefslogtreecommitdiff
path: root/n/avr/make/Makefile.gen
diff options
context:
space:
mode:
Diffstat (limited to 'n/avr/make/Makefile.gen')
-rw-r--r--n/avr/make/Makefile.gen4
1 files changed, 2 insertions, 2 deletions
diff --git a/n/avr/make/Makefile.gen b/n/avr/make/Makefile.gen
index d6fdcca..c68ce73 100644
--- a/n/avr/make/Makefile.gen
+++ b/n/avr/make/Makefile.gen
@@ -2,9 +2,9 @@
# Flags {{{1
-INCLUDES = -Imodules
+INCLUDES = -I$(BASE)
OPTIMIZE =
-CFLAGS = -g -Wall $(OPTIMIZE)
+CFLAGS = -g -Wall -W -Wundef -Werror $(OPTIMIZE)
DEFS =
CPPFLAGS = $(DEFS) $(INCLUDES) -MMD \
$(if $(CONFIGFILE),$(CONFIGFILE:%=-include %))