From cb381413a77594a702d3679624500377b9f98854 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 13 Mar 2019 21:33:54 -0400 Subject: migrate to gitlab --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0683104 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +.POSIX: + +CFLAGS=-D_XOPEN_SOURCE=700 -g + +all: l + +l: lex-ere.l lex-ere.y + yacc -b lex-ere -d lex-ere.y + lex -t lex-ere.l > lex-ere.yy.c + cc -o $@ lex-ere.yy.c lex-ere.tab.c -ll -ly + +lex: lex.c + +libl.a: libl.a(libl.o) + +clean: + rm -f lex *.o *.a lex.yy.c -- cgit v1.2.1