Use macros for validity check.

This commit is contained in:
Serge Vakulenko
2018-09-05 12:25:01 -07:00
parent 9cd07d3cd2
commit 0ebfb5d3e6
3 changed files with 60 additions and 50 deletions

View File

@@ -1,6 +1,6 @@
CC = gcc
VERSION = 0.1
VERSION = 0.2
GITCOUNT = $(shell git rev-list HEAD --count)
CFLAGS = -g -O -Wall -Werror -DVERSION='"$(VERSION).$(GITCOUNT)"'
LDFLAGS = -g