ina260-zmq-publisher/Makefile
2023-07-15 08:38:33 +02:00

23 lines
338 B
Makefile

CONF=$(PWD)/config.mk
include $(CONF)
CC="gcc"
CFLAGS=
all: pre-build bin/publisher bin/client bin/logger
pre-build:
mkdir -p bin/
bin/publisher: src/publisher.c
$(CC) -lzmq $^ -o $@
bin/client: src/client.c
$(CC) -lzmq $^ -o $@
bin/logger: src/logger.c
$(CC) $^ -o $@
clean:
rm -rf bin/
.PHONY: clean publisher client logger