Files
pytorch/Makefile
2015-11-27 21:31:09 -08:00

18 lines
415 B
Makefile

# This makefile does nothing but delegating the actual compilation to build.py.
all:
@python build.py build
clean:
@python build.py clean
test:
@python build.py test
lint:
@find caffe2 -type f -exec python cpplint.py {} \;
linecount:
@cloc --read-lang-def=caffe.cloc caffe2 pycaffe2 || \
echo "Cloc is not available on the machine. You can install cloc with " && \
echo " sudo apt-get install cloc"