fix makefile concerning libconfig

This commit is contained in:
2023-09-28 18:45:22 +02:00
parent 8afcfef5e8
commit cacb1c0254

View File

@ -9,10 +9,10 @@ VERSION ?= $(shell git rev-parse --short=8 HEAD)
UNAME_S := $(shell uname -s)
CC = gcc
CFLAGS = $(shell pkg-config --cflags libpq libconfig) -I. \
CFLAGS = $(shell pkg-config --cflags libpq) -I. \
-Wall -Werror -std=c99 \
-D$(UNAME_S)=1 -DVERSION="\"$(VERSION)\""
LDFLAGS = $(shell pkg-config --libs libpq libconfig)
LDFLAGS = $(shell pkg-config --libs libpq)
TARGET = sink20169
all: $(BUILD_DIR)/$(TARGET)