aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a1f8f85..9fd2dc0 100644
--- a/Makefile
+++ b/Makefile
@@ -21,8 +21,9 @@ CC = clang
SRC != find src -name '*.c'
OBJ = ${SRC:.c=.o}
+VERSION = 0.0.0
WARNINGS = -Wall -Werror
-CFLAGS = ${WARNINGS} -ansi -pedantic -fPIC
+CFLAGS = -DVERSION='"${VERSION}"' ${WARNINGS} -ansi -pedantic -fPIC
LFLAGS =
all: ${OBJ} liblist.so