From 2fd810be649548de92b7b34900205555250fab3b Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Mon, 22 Jul 2024 17:13:44 +0200 Subject: libproperties 0.0.0-alpha.0 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 87cd305..85e0bb8 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,11 @@ +VER = 0.0.0-alpha.0 LEX = lex YACC = yacc CC = cc OBJ = properties-lexer.o +CFLAGS = -DVERSION=${VER} LFLAGS = -ll @@ -13,7 +15,7 @@ all: properties properties-lexer.o: properties.l ${LEX} properties.l @mv lex.yy.c properties-lexer.c - ${CC} -c properties-lexer.c + ${CC} ${CFLAGS} -c properties-lexer.c properties: ${OBJ} ${CC} ${OBJ} -o $@ ${LFLAGS} -- cgit v1.2.3