Enable Werror

This commit is contained in:
Kamil Trzcinski 2022-04-05 10:08:56 +02:00
parent 3159cd5688
commit f52a991459

View File

@ -4,7 +4,7 @@ HTML := $(wildcard html/*.js html/*.html)
HTML_SRC := $(addsuffix .c,$(HTML))
camera_stream: $(SRC) $(HTML_SRC) $(HEADERS)
gcc -g -lpthread -I$(PWD) -o $@ $(filter %.c, $^)
gcc -Werror -g -lpthread -I$(PWD) -o $@ $(filter %.c, $^)
html/%.c: html/%
xxd -i $< > $@.tmp