📄 makefile
字号:
# ======================================================================# Build a Python wrapper for libusb.## Copyright 2006-2008 Dick Streefland## This is free software, licensed under the terms of the GNU General# Public License as published by the Free Software Foundation.# ======================================================================PYTHONINC=$(shell python -c "import distutils.sysconfig; print distutils.sysconfig.get_python_inc()")all: _libusb.soclean: rm -f libusb.pyc libusb_wrap.c usbtiny.pycclobber: clean rm -f _libusb.so libusb.py_libusb.so: libusb.i swig -python -D'__attribute__(x)=' -w302,454 -I/usr/include $< gcc -s -shared -I$(PYTHONINC) -o _libusb.so libusb_wrap.c -lusb @rm -f libusb_wrap.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -