Hi, review your Makefile, it has errors. Read the Make docs, the basic use is:
TARGET: DEPENDENCIES ACTIONS_THAT_USE_DEPENDENCIES_TO_UPDATE_TARGET You might want to try emulating Yacc if the booking you are using is enough old and in case current Bison could not be able to really follow it. But make sure you are fixing all of your mistakes too. If your book mentions a specific version of Bison and Flex, you might consider using those at some point. Regards, > On 17 Feb 2019, at 12:40, workbe...@gmx.at <workbe...@gmx.at> wrote: > > [...] > >> [...] >> >> *And here is my 'MakeFile:* >> >> test: lexer.l parser.tab.c parser.tab.c >> gcc parser.tabs.c lex.yy.c -lfl -o test >> >> parser.tab.c: parser.tab.c paser.tab.c >> bison -d parser.y >> >> lexer.l: lex.yy.c >> flex lexer.l >> >> clean: >> rm -rf lex.yy.c test1.tab.* test >> >> I can't get i compile and if i get i compile by hand i get errors ... please >> can someone help me out here, >> the book doens't go to much into detail about this topic. >> >> best reagards! >> >> _______________________________________________ >> help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison > > _______________________________________________ > help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison _______________________________________________ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison