Minor changes

This commit is contained in:
Loic Guegan 2023-07-15 09:12:45 +02:00
parent cabebea79e
commit e8325d0005
2 changed files with 8 additions and 8 deletions

4
.gitignore vendored
View file

@ -1,5 +1,7 @@
# Binary
/bin
/logger
/publisher
/client
# Logs
/logs

View file

@ -3,21 +3,19 @@ include $(CONF)
CC="gcc"
CFLAGS=
all: pre-build bin/publisher bin/client bin/logger
all: publisher client logger
pre-build:
mkdir -p bin/
bin/publisher: src/publisher.c
publisher: src/publisher.c
$(CC) -lzmq $^ -o $@
bin/client: src/client.c
client: src/client.c
$(CC) -lzmq $^ -o $@
bin/logger: src/logger.c
logger: src/logger.c
$(CC) $^ -o $@
clean:
rm -rf bin/
rm -f logger client publisher
.PHONY: clean publisher client logger