## Makefile for files looked at in class 2/17.04 ## Source files: ## time1.h ## time1.cpp ## main.cpp # To rebuild this package, you only need type "make". # It compiles the .cpp files into .o files and then # links the .o files into a run image called "runTrial". # OBJS = time1.o main.o CC = g++ runTrial: $(OBJS) $(CC) -o runTrial $(OBJS) time1.o: time1.cpp time1.h $(CC) -c time1.cpp main.o: main.cpp time1.cpp $(CC) -c main.cpp clean: rm *.o runTrial