-parser.obj : parser.c lexer.c
-parser.c : parser.y lexer.c
- $(YACC) parser.y
- pipe $(SED) -e "s;y_tab.c;parser.y;g" < y_tab.c | \
- $(SED) -e "s/BUFSIZ/5000/g" | \
- $(SED) -e "s/YYLMAX 200/YYLMAX 5000/g" | \
- $(SED) -e "s/yy/PROIO_yy/g" | \
- $(SED) -e "s/input/PROIO_input/g" | \
- $(SED) -e "s/unput/PROIO_unput/g" > parser.c
- delete y_tab.c;*
-
-lexer.c : lexer.l
- $(LEX) lexer.l
- pipe $(SED) -e "s;lexyy.c;lexer.l;g" < lexyy.c | \
- $(SED) -e "s/yy/PROIO_yy/g" | \
- $(SED) -e "s/input/PROIO_input/g" | \
- $(SED) -e "s/unput/PROIO_unput/g" > lexer.c
- delete lexyy.c;*
-