#SAMPLE EASY MAKEFILE
# This is the default target, which will be built when 
# you invoke make
.PHONY: all
all: hello

#EXECUTED WITH: $>MAKE
# This rule tells make how to build hello from hello.cpp
hello: hello.cc
	g++ -o hello hello.cc

# This rule tells make to copy hello to the binaries subdirectory,
# creating it if necessary
.PHONY: install
install:
	mkdir -p ../binaries
	cp -p hello ../binaries

# This rule tells make to delete hello and hello.o
.PHONY: clean 
clean:
	rm -f hello
