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