CC=g++
CFLAGS=-g -Wall
OBJS=Television.o  TVTest.o

# rule for building the executable
TVTest: $(OBJS)
	$(CC) -o TVTest $(OBJS)

all: TVTest

# list of file dependencies
TVTest.o: Television.h
Television.o: Television.h


# the following rule is used to compile .cpp files to .o
.cpp.o:
	$(CC) $(CFLAGS) -c $<


# the following removes all .o files, but leaves the executable
clean:
	rm -f *.o