EXTRAS = -g
mtadel: mtadel.c itoa.o debug.h mtadel.h Makefile calculate.o mark.o evaluate.o
	gcc -g -o mtadel itoa.o evaluate.o eval/lexer.o eval/eval.o sr/sr.o symbols/symbol.o calculate.o mark.o mtadel.c -lfl -DTEST
mtadel_object: mtadel.c itoa.o debug.h mtadel.h Makefile calculate.o mark.o evaluate.o
	gcc -c mtadel.c $(EXTRAS)
itoa.o: itoa.c debug.h Makefile
	gcc -c itoa.c $(EXTRAS)
itoa_test: itoa.c
	gcc -o itoa_test itoa.c $(EXTRAS)
calculate.o: calculate.c Makefile debug.h mtadel.h 
	gcc -c calculate.c $(EXTRAS)
mark.o: mark.c Makefile debug.h mtadel.h
	gcc -c mark.c $(EXTRAS)
evaluate.o: evaluate.c Makefile debug.h mtadel.h
	gcc -c evaluate.c $(EXTRAS)
clean:
	rm -f *.o core mtadel
clean-tests:
	rm -f itoa_test
