Enable Werror
This commit is contained in:
parent
3159cd5688
commit
f52a991459
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ HTML := $(wildcard html/*.js html/*.html)
|
|||||||
HTML_SRC := $(addsuffix .c,$(HTML))
|
HTML_SRC := $(addsuffix .c,$(HTML))
|
||||||
|
|
||||||
camera_stream: $(SRC) $(HTML_SRC) $(HEADERS)
|
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/%
|
html/%.c: html/%
|
||||||
xxd -i $< > $@.tmp
|
xxd -i $< > $@.tmp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user