testBuff2: Buff2.o testBuff2.o g++ -o testBuff2 Buff2.o testBuff2.o testBuff2.o: testBuff2.cpp Buff2.h g++ -c testBuff2.cpp Buff2.o: Buff2.h Buff2.cpp g++ -c Buff2.cpp reverse: reverse.cpp stack.o stack.h g++ -o reverse reverse.cpp stack.o exprEval: stack.h exprEval.cpp g++ -o exprEval exprEval.cpp stack.o stack.o: stack.cpp g++ -c stack.cpp stack.cpp: stack.h CC=g++ Stack.o: Stack.cpp $(CC) -c Stack.cpp Stack.cpp: Stack.h testLinkedQueue: LinkedQueue.o testLinkedQueue.cpp LinkedQueue.h g++ -o testLinkedQueue LinkedQueue.o testLinkedQueue.cpp LinkedQueue.o: LinkedQueue.cpp LinkedQueue.h g++ -c LinkedQueue.cpp tbs: tbs.cpp g++ -o tbs tbs.cpp echo 0 1 2 3 9 8 7 6 5 4 | tbs # quicktest echo 0 1 3 2 9 8 7 6 5 4 | tbs # quicktest movie: movie.cpp Queue.o Queue.h g++ -s -o movie movie.cpp Queue.o Queue.o: Queue.cpp Queue.h g++ -c Queue.cpp testtexport: testtexport.cpp texport.o texport.h g++ -o testtexport testtexport.cpp texport.o texport.o: texport.cpp texport.h g++ -w -c texport.cpp mergeMain: mergeSort.o mergeMain.cpp mergeSort.h random.h random.o iovect.o g++ -w -Os mergeMain.cpp mergeSort.o random.o -o mergeMain iovect.o mergeSort.o: mergeSort.cpp mergeSort.h random.h iovect.h g++ -c mergeSort.cpp selectMain: selectSort.o selectMain.cpp selectSort.h random.h random.o iovect.o g++ -w -os selectMain.cpp selectSort.o random.o -o selectMain iovect.o selectSort.o: selectSort.cpp selectSort.h random.h iovect.h g++ -c selectSort.cpp mergeMainC: mergeSortC.o mergeMainC.cpp mergeSortC.h random.h random.o g++ -w -Os mergeMainC.cpp mergeSortC.o random.o -o mergeMainC mergeSortC.o: mergeSortC.cpp mergeSortC.h random.h g++ -c mergeSortC.cpp selectMainC: selectSortC.o selectMainC.cpp selectSortC.h random.h random.o g++ -w -os selectMainC.cpp selectSortC.o random.o -o selectMainC selectSortC.o: selectSortC.cpp selectSortC.h random.h g++ -c selectSortC.cpp random.o: random.cpp random.h g++ -c random.cpp iovect.o: iovect.cpp iovect.h g++ -c iovect.cpp tss: tss.cpp g++ -o tss tss.cpp tss1999: tss1999.cpp g++ -o tss1999 tss1999.cpp NewFamilyXML: NewFamilyXML.cpp PersonXML.o PersonXML.h Person.o c++ -w -o NewFamilyXML NewFamilyXML.cpp PersonXML.o Person.o PersonXML.o: PersonXML.cpp PersonXML.h Person.h c++ -c PersonXML.cpp TestFamily: TestFamily.cpp Person.o Person.h c++ -w -o TestFamily TestFamily.cpp Person.o NewFamily2: NewFamily2.cpp Person.o Person.h c++ -w -o NewFamily2 NewFamily2.cpp Person.o NewFamily: NewFamily.cpp Person.o Person.h c++ -w -o NewFamily NewFamily.cpp Person.o testQueue: testQueue.cpp Queue.h Queue.o c++ -w -o testQueue testQueue.cpp Queue.o Family0: Family0.cpp Person0.o Person0.h c++ -w -o Family0 Family0.cpp Person0.o Person0.o: Person0.cpp Person0.h c++ -c Person0.cpp testTime: testTime.cpp ccc_time.o c++ -w -o testTime -I/share/src/cccfiles.old testTime.cpp ccc_time.o ccc_time.o: /share/src/cccfiles.old/ccc_time.cpp c++ -w -c /share/src/cccfiles.old/ccc_time.cpp kp: kp.cpp instr.h c++ -w -o kp kp.cpp instr.o nodup: nodup.cpp instr.h c++ -w -o nodup nodup.cpp instr.o instr.o: instr.cpp instr.h c++ -c -I/usr/include instr.cpp caesarMain: caesarMain.cpp Crypt.cpp c++ -w -o caesarMain -I/share/src/cccfiles.old caesarMain.cpp Caesar: Caesar.cpp c++ -w -o Caesar -I/share/src/cccfiles.old Caesar.cpp # Makefile for Laboratory based on Chapter 12 # Indxdrve Test Program #Executable Binary indxdrvr: indxdrvr.o indxlist.o g++ -o indxdrvr -s -O indxdrvr.o indxlist.o # Object code indxdrvr.o: indxdrvr.cc indxlist.h g++ -c indxdrvr.cc # Indexed List Implementation indxlist.o: indxlist.cc indxlist.h selsrtt.cc lnsrcht.cc findmint.h findmaxt.h g++ -c indxlist.cc indxlist.cc: indxlist.cc.org cp indxlist.cc.org indxlist.cc selsrtt.cc: exchngt.h findmint.h # above files are included in selsrtt.cc so we don't have to do anything # For the end of the lab ignore status report from 'diff' .IGNORE: changes: indxlist.cc.org indxlist.cc findmint.h findmaxt.h lnsearch.cc lnsrcht.cc echo "=======indxlist.cc=====" >changes diff indxlist.cc.org indxlist.cc >>changes 2>&1; true echo "=======findmint.h====== ">>changes diff findmint.h findmaxt.h >>changes 2>&1; true echo "=======lnsearch.cc=====" >>changes diff lnsearch.cc lnsrcht.cc >>changes 2>&1; true submit: changes mailx -s cs202/lab/04 dick