queue and so on

This commit is contained in:
Wolfgang Hottgenroth
2021-10-17 14:41:21 +02:00
parent ffbaa822c0
commit a99c3b7121
10 changed files with 264 additions and 356 deletions

View File

@ -1,9 +1,10 @@
BUILD_DIR = build
C_SOURCES = \
sha256.c \
sink20169.c \
logging.c
iiotfeeder.c \
logging.c \
config.c \
dbhandler.c
VERSION ?= $(shell git rev-parse --short=8 HEAD)
UNAME_S := $(shell uname -s)
@ -13,7 +14,7 @@ CFLAGS = $(shell pkg-config --cflags libpq libconfig) -I. \
-Wall -Werror -std=c99 \
-D$(UNAME_S)=1 -DVERSION="\"$(VERSION)\""
LDFLAGS = $(shell pkg-config --libs libpq libconfig)
TARGET = sink20169
TARGET = iiotfeeder
all: $(BUILD_DIR)/$(TARGET)