INCLUDES = /home/usra/40/16603/320/sort

SORTS  = $(INCLUDES)/quickSort.h $(INCLUDES)/partition.h 
SORTS += $(INCLUDES)/insertionSort.h $(INCLUDES)/introspectiveSort.h
SORTS += $(INCLUDES)/iterator_traits

SORT5DEPS  = $(INCLUDES)/sort5_node.h $(INCLUDES)/sort5_test.cc 
SORT5DEPS += $(INCLUDES)/iterator_traits

# targets to make randomized and unrandomized quicksort.

sort_example: sort_example.cc $(SORTS) $(INCLUDES)/gridNode.h
	CC sort_example.cc -o sort_example -I$(INCLUDES)

sort5_test: $(SORT%DEPS) sort5.h
	CC sort5_test.cc -o sort5_test -I$(INCLUDES)

run: sort_example
	sort_example

run5: sort5_test
	sort5_test | more

clean: 
	rm a.out *.o sort_example sort5_test
