ina260-zmq-publisher/Makefile
2023-07-14 20:42:12 +02:00

29 lines
604 B
Makefile

CONF=$(PWD)/config.mk
include $(CONF)
CC="gcc"
CFLAGS=
all: publisher client logger
publisher:
@echo "---------- Building publisher..."
CFLAGS=$(CFLAGS) \
$(MAKE) -C src/publisher/ CC=$(CC) OUT=$(PWD) CONF=$(CONF)
client:
@echo "---------- Building client..."
CFLAGS=$(CFLAGS) \
$(MAKE) -C src/client/ CC=$(CC) OUT=$(PWD) CONF=$(CONF)
logger:
@echo "---------- Building client..."
CFLAGS=$(CFLAGS) \
$(MAKE) -C src/logger/ CC=$(CC) OUT=$(PWD) CONF=$(CONF)
clean:
$(MAKE) clean -C src/publisher/
$(MAKE) clean -C src/client/
$(MAKE) clean -C src/logger/
.PHONY: clean publisher client