ina260-zmq-publisher/Makefile

24 lines
394 B
Makefile
Raw Normal View History

2023-07-14 20:08:36 +02:00
CONF=$(PWD)/config.mk
include $(CONF)
2023-07-14 18:26:31 +02:00
CC="gcc"
2023-07-14 19:29:18 +02:00
CFLAGS=
2023-07-14 18:26:31 +02:00
2023-07-15 09:12:45 +02:00
all: publisher client logger
2023-07-14 18:26:31 +02:00
2023-07-15 10:31:36 +02:00
publisher: src/publisher.c src/utils.c
2023-07-15 08:38:33 +02:00
$(CC) -lzmq $^ -o $@
2023-07-14 18:28:02 +02:00
2023-07-15 15:27:34 +02:00
client: src/client.c src/utils.c
2023-07-15 08:38:33 +02:00
$(CC) -lzmq $^ -o $@
2023-07-14 20:42:12 +02:00
2023-07-15 10:31:36 +02:00
logger: src/logger.c src/utils.c
2023-07-15 08:38:33 +02:00
$(CC) $^ -o $@
2023-07-14 18:28:02 +02:00
2023-07-15 13:54:03 +02:00
start: publisher client
$(error "Not yet implemented")
2023-07-14 18:26:31 +02:00
clean:
2023-07-15 09:12:45 +02:00
rm -f logger client publisher
2023-07-14 18:26:31 +02:00
2023-07-15 13:54:03 +02:00
.PHONY: clean publisher client logger start