Commit 76ee1914 authored by Sebastian Neuser's avatar Sebastian Neuser

Enable more warnings

parent 1a6f14d1
......@@ -9,9 +9,11 @@ AVRDUDE = avrdude
PGM_TYPE = avrispmkII
PGM_DEV = usb
FLAGS = -mmcu=$(MCU) -DAVR -DF_CPU=$(F_CPU) -D_BOB3_ -I. -Wall -Os -ffunction-sections
FLAGS = -mmcu=$(MCU) -DAVR -DF_CPU=$(F_CPU) -D_BOB3_ -I. -Os
FLAGS += -Wall -Wextra -Wpointer-arith -Wcast-qual -Wmissing-include-dirs -Wno-unused-parameter -Wuninitialized
FLAGS += -ffunction-sections -finput-charset=UTF-8
CFLAGS = $(FLAGS) -std=c99
CCFLAGS = $(FLAGS)
CCFLAGS = $(FLAGS) -std=c++14 -fno-threadsafe-statics
C_FILES := $(wildcard bob3/*.c) $(wildcard bob3/*.cpp)
OBJS := $(patsubst %.cpp, %.o, $(patsubst %.c, %.o, $(C_FILES)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment