From 3198f2b9f42d8c20b2638f848b312071c3dd5cfb Mon Sep 17 00:00:00 2001 From: "mingang.he" Date: Mon, 7 Dec 2020 22:54:38 +0800 Subject: [PATCH] Update version --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8489f6a..91b9ded 100644 --- a/Makefile +++ b/Makefile @@ -35,9 +35,10 @@ else CFLAGS += -O2 -DNDEBUG endif -ifeq ($(shell echo $(VERSION) | head -c 1), v) - CFLAGS += -DVERSION=\"$(VERSION)\" +ifneq ($(shell echo $(VERSION) | head -c 1), v) + VERSION=v0.3 endif +CFLAGS += -DVERSION=\"$(VERSION)\" SRC := $(wildcard *.c)