# file: $(ECE_1111)/labs/01/l01_03/Makefile # # define a target for the application # all: example.exe # define a target to link the application # example.exe: example.o g++ -lm example.o -o example.exe # define targets to compile the source code # example.o: example.cc t.h Makefile g++ -O2 -c example.cc -o example.o # define a target to clean the directory # clean: rm -f *.o *.exe # define a target to do nothing # joe: echo "hello joe" # # end of file