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

18 lines
246 B
Makefile

target ?= hs100
objects := $(patsubst %.c,%.o,$(wildcard *.c))
LDFLAGS=-lm
CFLAGS=-std=gnu99 -Os
ifdef DEBUG
CFLAGS+=-Wall -Werror -ggdb
endif
.PHONY: all
all: $(target)
.PHONY: clean
clean:
rm -f $(target) $(objects)
$(target): $(objects)