ina260-zmq-publisher/Makefile
2023-07-14 20:08:36 +02:00

23 lines
482 B
Makefile

CONF=$(PWD)/config.mk
include $(CONF)
CC="gcc"
CFLAGS=
all: publisher client
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)
clean:
$(MAKE) clean -C src/publisher/ CC=$(CC) OUT=$(PWD)
$(MAKE) clean -C src/client/ CC=$(CC) OUT=$(PWD)
.PHONY: clean publisher client