mirror of
https://gitlab.com/manzerbredes/ina260-zmq-publisher.git
synced 2025-04-06 03:46:25 +02:00
29 lines
611 B
Makefile
29 lines
611 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 logger..."
|
|
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 logger
|