SmartAudio/package/testtools/tinatest/plugin/mcollectd/Makefile

11 lines
215 B
Makefile

PLUGINS:= $(wildcard mcollectd_*.c)
PLUGINS:= $(PLUGINS:%.c=%.o)
.PHONY: all
all: $(PLUGINS)
%.so: %.c
@echo -e "\033[32mBuilding Plugin: $@\033[0m"
@$(CC) $(CFLAGS) $(LDFLAGS) $^ -o $(PREFIX)/lib/tt-module/$@