pos: posture.tab.o lex.yy.o
	gcc -O6 -m486 -o pos posture.tab.o lex.yy.o -lfl

posture.tab.c: posture.y
	bison -d posture.y

posture.tab.o: posture.tab.c
	gcc -O6 -m486 -c posture.tab.c

lex.yy.c: posture.l
	flex posture.l

lex.yy.o: lex.yy.c
	gcc -O6 -m486 -c lex.yy.c

clean:
	rm lex.yy.c lex.yy.o posture.tab.c posture.tab.h posture.tab.o pos
