📄 makefile
字号:
all: shared staticshared: $(CC) -c -fPIC gpio_bcm963xx.c -o gpio_bcm963xx_shared.o $(CC) -shared -Wl,-soname,libgpio_bcm963xx.so.0 -o libgpio_bcm963xx.so.0.0.1 gpio_bcm963xx_shared.o ln -s libgpio_bcm963xx.so.0.0.1 libgpio_bcm963xx.so.0 ln -s libgpio_bcm963xx.so.0.0.1 libgpio_bcm963xx.sostatic: $(CC) -c gpio_bcm963xx.c -o gpio_bcm963xx_static.o $(AR) rcs libgpio_bcm963xx.a gpio_bcm963xx_static.oclean: rm -rf *.o *.so* *.a
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -