pytorch/Makefile
2016-01-05 09:55:22 -08:00

22 lines
458 B
Makefile

# This makefile does nothing but delegating the actual compilation to build.py.
all:
@python build.py build
android:
@python build_android.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"