arithm1: lex.yy.o y.tab.o
	gcc -o arithm1 lex.yy.o y.tab.o -lfl

y.tab.c: arithmetique1.y
	yacc arithmetique1.y

# La règle par défaut n'est pas suffisante pour lex.yy.o  :
lex.yy.o: lex.yy.c y.tab.h
	gcc -c lex.yy.c

lex.yy.c: arithmetique1.l
	lex arithmetique1.l

y.tab.h: arithmetique1.y
	yacc -d arithmetique1.y
