Skip to content
Snippets Groups Projects
Marcus M. Darden's avatar
Marcus M. Darden authored
% make all
This now builds executable, executable_debug, and executable_profile.
This will allow for easy implementation of the autograder building and
testing student solutions. When a SIG occurs, the AG can then run
valgrind with a debug build, to give improved feedback to students.

Build objects (.o files) are now only created for release builds.
Therefore, any .o file found in the directory will be compiled with -O3
and -DNDEBUG. The other two build targets (debug and profile) are
compiled directly from source to executable. This should prevent any
unfortunate hybrid builds.

Some minor documentation and formatting updates were also made.
73cdffb0
History
Name Last commit Last update
Makefile
README.md
legacy.txt

EECS 281 Makefile

Include this makefile in your EECS 281 projects and many of your troubles will go away...

Using this Makefile is no substitute for learning make and understanding Makefiles!

Usage: make help

Make sure you search for TODO and update the Makefile