Skip to content
Snippets Groups Projects
Commit 156f1a0b authored by Marcus M. Darden's avatar Marcus M. Darden
Browse files

Merge branch 'master' of gitlab.eecs.umich.edu:eecs281/makefile

parents cefa56d5 db3dbb7a
No related branches found
No related tags found
No related merge requests found
......@@ -81,10 +81,15 @@ debug: CXXFLAGS += -g3 -DDEBUG
debug:
$(CXX) $(CXXFLAGS) $(SOURCES) -o $(EXECUTABLE)_debug
# make profile - will compile "all" with $(CXXFLAGS) and the -pg flag
profile: CXXFLAGS += -pg
# make profile - will compile "all" with $(CXXFLAGS) and the -g3 and -O3 flags
profile: CXXFLAGS += -g3 -O3
profile:
$(CXX) $(CXXFLAGS) $(SOURCES) -o $(EXECUTABLE)_profile
# make gprof - will compile "all" with $(CXXFLAGS) and the -pg (for gprof)
gprof: CXXFLAGS += -pg
gprof:
$(CXX) $(CXXFLAGS) $(SOURCES) -o $(EXECUTABLE)_profile
# make static - will perform static analysis in the matter currently used
# on the autograder
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment