Makefile entries for debug symbols, clean build, and highlight errors

This commit is contained in:
wiredfool 2016-12-19 14:15:06 -08:00
parent badbff1b99
commit 980785952f

View File

@ -58,6 +58,13 @@ install:
python setup.py install python setup.py install
python selftest.py --installed python selftest.py --installed
debug:
# make a debug version if we don't have a -dbg python. Leaves in symbols
# for our stuff, kills optimization, and redirects to dev null so we
# see any build failures.
make clean > /dev/null
CFLAGS='-g -O0' python setup.py build_ext install > /dev/null
install-req: install-req:
pip install -r requirements.txt pip install -r requirements.txt