# Makefile for Lab10 # P. Conrad, for CISC181, Fall 2004 # After this comment, create a variable assignment that assigns the # variable CCC the value CC or g++ # After this comment, Create a rule with the target "all" that depends # on the exectuable "restman" # After this comment, create a rule with the target "restman" that # depends on the files restaurantManager.o, restaurant.o, getThings.o, # and table.o The rule should fire off the command to link those .o files # into an executable called "restman" # After this comment, Create a rule with the target restaurant.o that # depends on restaurant.cpp table.h, restaurant.h, and # getThings.h. The rule should fire off the command to compile # restaurant.cpp file (this command should compile only, with the -c # switch, resulting in a restaurant.o file) # After this comment, Create a rule with the target table.o that # depends on table.cpp and table.h only. The rule should # fire off the command to compile the table.cpp file (this command # should compile only, with the -c switch, resulting in a table.o # file) # After this comment, Create a rule with the target getThings.o that # depends on getThings.cpp and getThings.h only. The rule should # fire off the command to compile the getThings.cpp file (this command # should compile only, with the -c switch, resulting in a table.o # file) # After this comment, Create a "make clean" rule. The target is # "clean", and the rule has no dependencies (it is always executed # when the user types "make clean") The rule should invoke a command # or commands that delete all files ending in .o, all core and a.out # files, and all executable files created by this Makefile