mirror of
https://gitlab.com/manzerbredes/ina260-zmq-publisher.git
synced 2025-04-19 04:09:45 +00:00
Minor changes
This commit is contained in:
parent
fe62b11365
commit
d1a333925f
3 changed files with 8 additions and 8 deletions
12
Makefile
12
Makefile
|
@ -9,14 +9,14 @@ MACROS=\
|
|||
|
||||
all: publisher subscriber logger
|
||||
|
||||
publisher: src/publisher.c src/utils.c
|
||||
$(CC) -lzmq $^ -o $@ $(MACROS)
|
||||
publisher: src/publisher.c src/utils.c config.mk
|
||||
$(CC) -lzmq $(filter-out config.mk,$^) -o $@ $(MACROS)
|
||||
|
||||
subscriber: src/subscriber.c src/utils.c
|
||||
$(CC) -lzmq $^ -o $@ $(MACROS)
|
||||
subscriber: src/subscriber.c src/utils.c config.mk
|
||||
$(CC) -lzmq $(filter-out config.mk,$^) -o $@ $(MACROS)
|
||||
|
||||
logger: src/logger.c src/utils.c
|
||||
$(CC) $^ -o $@ $(MACROS)
|
||||
logger: src/logger.c src/utils.c config.mk
|
||||
$(CC) $(filter-out config.mk,$^) -o $@ $(MACROS)
|
||||
|
||||
publish: publisher logger
|
||||
[ -f pid ] && { kill $(shell cat pid); rm pid; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue