mirror of
https://gitlab.com/manzerbredes/ina260-zmq-publisher.git
synced 2025-04-06 03:46:25 +02:00
20 lines
295 B
Makefile
20 lines
295 B
Makefile
CONF=$(PWD)/config.mk
|
|
include $(CONF)
|
|
CC="gcc"
|
|
CFLAGS=
|
|
|
|
all: publisher client logger
|
|
|
|
publisher: src/publisher.c
|
|
$(CC) -lzmq $^ -o $@
|
|
|
|
client: src/client.c
|
|
$(CC) -lzmq $^ -o $@
|
|
|
|
logger: src/logger.c
|
|
$(CC) $^ -o $@
|
|
|
|
clean:
|
|
rm -f logger client publisher
|
|
|
|
.PHONY: clean publisher client logger
|