# Makefile for lab06, P. Conrad, CISC181 Spring 2007 # Uncomment the CCC = CC line to get no debugging output # Uncomment the CCC = CC -DDEBUG line to get debugging output # You may also replace CC on either line with g++ # Do a make clean; make all anytime you change either line # CCC = CC CCC = CC -DDEBUG BINARIES = searchList all: ${BINARIES} searchList: searchList.o intLinkedList.o ${CCC} searchList.o intLinkedList.o -o $@ # Note that we list the .h files as well on the compile step # They are not needed on the link step searchList.o: searchList.cc intLinkedList.h ${CCC} -c searchList.cc intLinkedList.o: intLinkedList.cc intLinkedList.h ${CCC} -c intLinkedList.cc clean: /bin/rm -f *.o core ${BINARIES}