ina260-zmq-publisher/Makefile
2023-07-15 19:31:17 +02:00

26 lines
455 B
Makefile

CONF=$(PWD)/config.mk
include $(CONF)
CC="gcc"
CFLAGS=
all: publisher subscriber logger
publisher: src/publisher.c src/utils.c
$(CC) -lzmq $^ -o $@
subscriber: src/subscriber.c src/utils.c
$(CC) -lzmq $^ -o $@
logger: src/logger.c src/utils.c
$(CC) $^ -o $@
publish: publisher logger
$(error "Not yet implemented")
subscribe: subscriber
$(error "Not yet implemented")
clean:
rm -f logger subscriber publisher
.PHONY: clean publish subscribe