summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-07-15 21:49:12 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-07-15 21:49:12 +0200
commitd1a333925f17c4754ed5dff3158469182f421f01 (patch)
tree6f3d5d16c4baf081b8ff0447c705b703beb13159 /Makefile
parentfe62b113653199d0678024b5126a17166b6bf5b0 (diff)
Minor changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 692f123..2f0059d 100644
--- a/Makefile
+++ b/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; }