1
0
mirror of https://github.com/taigrr/tplinkController synced 2025-01-18 04:43:13 -08:00

Fix: using -Werror for non-debug builds

This commit is contained in:
Jason Benaim 2018-11-24 03:19:58 -08:00
parent 20a06eec3e
commit f01121c37c

View File

@ -1,6 +1,10 @@
target ?= hs100
objects := $(patsubst %.c,%.o,$(wildcard *.c))
CFLAGS=-Wall -Werror -std=c99 -ggdb -Os
CFLAGS=-std=c99 -Os
ifdef DEBUG
CFLAGS+=-Wall -Werror -ggdb
endif
.PHONY: all
all: $(target)