start with postgres

This commit is contained in:
2021-04-21 18:51:12 +02:00
parent 035a288874
commit a3b9c2071e
3 changed files with 139 additions and 39 deletions

View File

@ -8,13 +8,14 @@ logging.c
C_INCLUDES = \
-I. \
-I../cube/User/Inc
-I../cube/User/Inc \
-I/usr/include/postgresql
VERSION := $(shell git rev-parse --short=8 HEAD)
CC = gcc
CFLAGS = $(C_INCLUDES) -Wall -Werror -std=c99 -DVERSION="\"$(VERSION)\""
LDFLAGS = -lconfig -lcurl
LDFLAGS = -lconfig -lcurl -lpq
TARGET = sink20169
UNAME_S := $(shell uname -s)