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