ina260-zmq-publisher/Makefile
2023-07-15 15:27:34 +02:00

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