makefile

来自「This is a software implementation of the」· 代码 · 共 24 行

TXT
24
字号
# ======================================================================# 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 + =
减小字号Ctrl + -
显示快捷键?