From 4466ab96255e3b720a96cf6dd05cdaeef5119691 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Wed, 24 Jul 2024 12:33:06 +0200 Subject: Add string utils --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index de0f79f..75a30d5 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ LEX = lex YACC = yacc CC = cc -OBJ = properties-parser.o properties-lexer.o +OBJ = utils/string.o properties-parser.o properties-lexer.o CFLAGS = -DVERSION=${VER} LFLAGS = -ll -ly @@ -23,6 +23,9 @@ properties-parser.o properties-parser.h: properties.y @mv y.tab.h properties-parser.h ${CC} ${CFLAGS} -c properties-parser.c +utils/string.o: utils/string.c + ${CC} ${CFLAGS} -c $< -o $@ + properties: ${OBJ} ${CC} ${OBJ} -o $@ ${LFLAGS} -- cgit v1.2.3