mirror of
https://gitlab.com/manzerbredes/ina260-zmq-publisher.git
synced 2025-04-06 03:46:25 +02:00
22 lines
466 B
Makefile
22 lines
466 B
Makefile
PUBLISHER_PORT=5556
|
|
CC="gcc"
|
|
CFLAGS=
|
|
|
|
all: publisher client
|
|
|
|
publisher:
|
|
echo "Building publisher..."
|
|
CFLAGS+=-DPUBLISHER_PORT=$(PUBLISHER_PORT) \
|
|
$(MAKE) -C src/publisher/ CC=$(CC) OUT=$(PWD)
|
|
|
|
client:
|
|
echo "Building client..."
|
|
CFLAGS+=-DPUBLISHER_PORT=$(PUBLISHER_PORT) \
|
|
$(MAKE) -C src/client/ CC=$(CC) OUT=$(PWD)
|
|
|
|
|
|
clean:
|
|
$(MAKE) clean -C src/publisher/ CC=$(CC) OUT=$(PWD)
|
|
$(MAKE) clean -C src/client/ CC=$(CC) OUT=$(PWD)
|
|
|
|
.PHONY: clean publisher client
|