📄 makefile.am
字号:
## $Id: Makefile.am,v 1.4 2001/11/20 15:26:03 ranty Exp $## Process this file with automake to produce Makefile.inEXTRA_DIST = ## this is so that Automake includes the C compiling definitions, and## includes the source files in the distribution.EXTRA_PROGRAMS = automake_dummyautomake_dummy_SOURCES = lirc_i2c.c## there is no *just* object file support in automake. This is close enoughmodule_DATA = lirc_i2c.o# where the kernel sources are locatedKERNEL_LOCATION=@kerneldir@# some magic for using linux kernel settings# when compiling module(s)CC = @kernelcc@MI_OBJS = $(module_DATA)EXTRA_CFLAGS = $(DEFS) $(DEFAULT_INCLUDES)$(module_DATA): ${automake_dummy_SOURCES} $(top_srcdir)/config.h ../lirc.h ifndef MAKING_MODULES DIR=`pwd`; (cd $(KERNEL_LOCATION); make SUBDIRS=$$DIR obj-m=$(module_DATA) modules) endif# the spaces above are necessary because automake otherwise will complain# and even worse, it will delete the lineCLEANFILES = $(module_DATA) *~ \#*\#include $(KERNEL_LOCATION)/Rules.make
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -