mirror of
https://gitlab.com/manzerbredes/ina260-zmq-publisher.git
synced 2025-04-06 03:46:25 +02:00
23 lines
338 B
Makefile
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
|