Minor changes

This commit is contained in:
Loic Guegan 2023-07-14 20:42:12 +02:00
parent 5f4d586aca
commit 31fd7f1f9b
4 changed files with 32 additions and 3 deletions

10
src/logger/Makefile Normal file
View file

@ -0,0 +1,10 @@
include $(CONF)
EXEC=logger
all: main.c
$(CC) $^ -o $(OUT)/$(EXEC) $(CFLAGS)
clean:
rm -f $(OUT)/$(EXEC)
.PHONY: clean

13
src/logger/main.c Normal file
View file

@ -0,0 +1,13 @@
// Weather update client
// Connects SUB socket to tcp://localhost:5556
// Collects weather updates and finds avg temp in zipcode
#include <zmq.h>
#include <assert.h>
#include <time.h>
#include <string.h>
int main (int argc, char *argv [])
{
return 0;
}