#----------------------------------------------------------
# makefile - demo for Project #1
#
# Jim Fawcett, CSE775 - Distributed Objects, Spring 2019
#----------------------------------------------------------
# Notes:
#   - Indentations must be a single Tab (not spaces)
#   - Dependencies are not indented
#   - commands are indented with single tab
#----------------------------------------------------------

all: hello clean

# link hello.o to create executable hello
# you may add additional object files as needed

hello: hello.o
	g++ hello.o -o hello

# compile Hello.cpp to create object file hello.o
# you may add additional source files as needed

hello.o: Hello.cpp
	g++ -c -g -Wall Hello.cpp -o hello.o

# remove object files
# only called if cited in all: directive

clean:
	rm *.o

