###############################################
# makefile1:  Dependency Rules
###############################################

testsymtable: testsymtable.o symtable.o
	gcc -o testsymtable testsymtable.o symtable.o

testsymtablegdb: testsymtable.do symtable.do
	gcc -o testsymtablegdb testsymtable.do symtable.do

testsymtable.o: testsymtable.c symtable.h
	gcc -Wall -ansi -pedantic -c -o testsymtable.o testsymtable.c

testsymtable.do: testsymtable.c symtable.h
	gcc -g -Wall -ansi -pedantic -c -o testsymtable.do testsymtable.c

symtable.o: symtable.c symtable.h
	gcc -Wall -ansi -pedantic -c -o symtable.o symtable.c

symtable.do: symtable.c symtable.h
	gcc -g -Wall -ansi -pedantic -c -o symtable.do symtable.c

