# Makefile for lab03 sample code BINARIES = multTable types1 types2 types3 types4 CCC = g++ all: ${BINARIES} # Since multTable.cc is a standalone file, # we don't even need to make a multTable.o for it. # We can compile it in a single step multTable: multTable.cpp ${CCC} multTable.cpp -o multTable # Same for types1.cc, etc types1: types1.cc ${CCC} types1.cc -o types1 types2: types2.cc ${CCC} types2.cc -o types2 types3: types3.cc ${CCC} types3.cc -o types3 types4: types4.cc ${CCC} types4.cc -o types4 # The "clean" rule should get rid of .o files anyway, just # as a "general good practice" clean: /bin/rm -f *.o ${BINARIES}