# Makefile for 112 assignment # # If this file is in the directory with your program, you can compile your # program using the following command: # # $ make # # When you are done with this assignment, delete all the files generated # by the compiler (you can always recreate them if you need them) # # $ make clean # # It is a good idea to understand how make works # # Commands all have the following format: # file_to_be_created: list_of_files_the_file_to_left_is_create_from # the command that generates this file # movies: main.o movie_db.o g++ -g -o movies main.o movie_db.o main.o: main.cpp movie_db.h g++ -g -c main.cpp movie_db.o: movie_db.cpp movie_db.h g++ -g -c movie_db.cpp clean: rm -f movies movies.exe main.o movie_db.o