summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-07-14 20:42:12 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-07-14 20:42:12 +0200
commit31fd7f1f9b85a447bf9d446e1fc61f3179d79849 (patch)
tree6456225c1c349c30b34a4c2bacbcf8468760e33e /Makefile
parent5f4d586aca4b5e802e2d18d527ee0b0a4e2f884c (diff)
Minor changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9739ea0..391df65 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ include $(CONF)
CC="gcc"
CFLAGS=
-all: publisher client
+all: publisher client logger
publisher:
@echo "---------- Building publisher..."
@@ -15,9 +15,15 @@ client:
CFLAGS=$(CFLAGS) \
$(MAKE) -C src/client/ CC=$(CC) OUT=$(PWD) CONF=$(CONF)
+logger:
+ @echo "---------- Building client..."
+ CFLAGS=$(CFLAGS) \
+ $(MAKE) -C src/logger/ CC=$(CC) OUT=$(PWD) CONF=$(CONF)
+
clean:
- $(MAKE) clean -C src/publisher/ CC=$(CC) OUT=$(PWD)
- $(MAKE) clean -C src/client/ CC=$(CC) OUT=$(PWD)
+ $(MAKE) clean -C src/publisher/
+ $(MAKE) clean -C src/client/
+ $(MAKE) clean -C src/logger/
.PHONY: clean publisher client