parse.o:	lex.yy.c y.tab.c
		cc -c y.tab.c -o parse.o 

lex.yy.c:	lex3a.c
		lex lex3a.c

y.tab.c:	lex3.c
		yacc lex3.c
pmain.o:	pmain.c
		cc -c pmain.c -o pmain.o
parse:		parse.o pmain.o
		cc -o parse pmain.o parse.o -ll -lm
###########################################################################

argtest:	argtest.o targs.o parse.o
		cc -o argtest argtest.o targs.o parse.o -lm -ll

smallargtest:	smallargtest.o targs.o parse.o
		cc -o smallargtest smallargtest.o targs.o parse.o -lm -ll

smallargtest.o:	smallargtest.c targs.h
		cc -c $(CFLAGS) smallargtest.c

argtest.o:	argtest.c targs.h
		cc -c $(CFLAGS) argtest.c

targs.o:	targs.c targs.h
		cc -c $(CFLAGS) targs.c
