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:
parent
20a06eec3e
commit
f01121c37c
6
Makefile
6
Makefile
@ -1,6 +1,10 @@
|
|||||||
target ?= hs100
|
target ?= hs100
|
||||||
objects := $(patsubst %.c,%.o,$(wildcard *.c))
|
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
|
.PHONY: all
|
||||||
all: $(target)
|
all: $(target)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user