Blob
1 CC = cc2 CFLAGS = -Wall -Wextra -g3 LDFLAGS = -ltls4 LEX = lex5 YACC = yacc7 .PHONY: all clean test9 all: gmid TAGS README.md11 lex.yy.c: lex.l y.tab.c12 ${LEX} lex.l14 y.tab.c: parse.y15 ${YACC} -b y -d parse.y17 OBJS = gmid.o iri.o utf8.o lex.yy.o y.tab.o sandbox.o18 gmid: ${OBJS}19 ${CC} ${OBJS} -o gmid ${LDFLAGS}21 TAGS: gmid.c iri.c utf8.c22 -etags gmid.c iri.c utf8.c || true24 clean:25 rm -f *.o lex.yy.c y.tab.c y.tab.h y.output gmid iri_test27 iri_test: iri_test.o iri.o utf8.o28 ${CC} iri_test.o iri.o utf8.o -o iri_test ${LDFLAGS}30 test: iri_test31 ./iri_test