Files
lm-sensors/i2c/Module.mk
T
Frodo Looijaard 9cb654d2b4 Added CONFIG_MODVERSIONS magic
The i2c modules now compile and insert without any problem. If I only had
a VIA mainboard...


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@6 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-11-03 02:05:49 +00:00

21 lines
613 B
Makefile

# Note that MODULE_DIR (the directory in which this file resides) is a
# 'simply expanded variable'. That means that its value is substituted
# verbatim in the rules, until it is redefined.
MODULE_DIR := i2c
TARGETS := $(MODULE_DIR)/i2c-core.o $(MODULE_DIR)/algo-bit.o \
$(MODULE_DIR)/i2c-dev.o $(MODULE_DIR)/bit-lp.o \
$(MODULE_DIR)/bit-velle.o $(MODULE_DIR)/bit-mb.o
# Include all dependency files
include $(TARGETS:.o=.d)
all :: $(TARGETS)
install :: $(TARGETS)
$(MKDIR) $(MODDIR)
install -o root -g root -m 644 $(TARGETS) $(MODDIR)
clean ::
$(RM) $(TARGETS) $(TARGETS:.o=.d)