Files
c3c/resources/grammar/Makefile
2024-09-14 23:13:06 +02:00

7 lines
185 B
Makefile

c3yacc: grammar.y c3.l
flex --header-file=lex.yy.h -8 c3.l
bison -d grammar.y;
cc -O2 -o c3yacc lex.yy.c grammar.tab.c
clean:
rm -f c3yacc grammar.output *.o grammar.tab.* lex.yy.*