# kjr * March 20, 2017 CC=g++ linked: linked.o $(CC) -o linked linked.o linked.o: linked.c $(CC) -c linked.c clean: rm linked.o rm linked.exe ################################################################## # if you need to move files to a new location # type make install #install: All # cp linked ../linked3 # mv #All: linked # to create a debug file type make debug debug: g++ -ggdb3 linked.c -o linked4 # to create a profile structure type make profile profile: g++ -pg linked.c -o linked7