This commit is contained in:
2021-02-11 11:28:43 +01:00
parent 9e9af0baf3
commit b3cf1ca33a
4 changed files with 59 additions and 9 deletions

View File

@ -10,12 +10,13 @@ C_INCLUDES = \
-I. \
-I../cube/User/Inc
VERSION := $(shell git rev-parse --short=8 HEAD)
CC = gcc
CFLAGS = $(C_INCLUDES) -Wall -Werror -std=c99
CFLAGS = $(C_INCLUDES) -Wall -Werror -std=c99 -DVERSION=$(VERSION)
LDFLAGS = -lconfig -lcurl
TARGET = sink20169
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),OpenBSD)
CFLAGS += -I/usr/local/include -DOpenBSD=1