Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
hmgle committed Dec 7, 2020
1 parent 69446b7 commit 3198f2b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 3198f2b

Please sign in to comment.