# 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 ll_00.o g++ -lm example.o ll_00.o -o example.exe # define targets to compile the source code # example.o: example.cc ll.h Makefile g++ -O2 -c example.cc -o example.o ll_00.o: ll_00.cc ll.h Makefile g++ -O2 -c ll_00.cc -o ll_00.o # define a target to clean the directory # clean: rm -f *.o *.exe # # end of file