Files
lm-sensors/i2c/drivers/Makefile
T
Frodo Looijaard 11e88380d5 The basic directory structure for lmsensors2.
README.directories contains a description of the directories I created;
  read it if you have questions about them.
doc/design is the design document I sent before through email.
doc/useful_addresses.html contains links to I2C, SMBus and sensors
  information.

Note that we may have to change minor i2c things, like Makefiles; this
is why I put it in the archive too (we should, of course, send important
changes to Simon Vogl).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3 7894878c-1315-0410-8ee3-d5d059ff63e0
1998-11-02 20:29:28 +00:00

24 lines
581 B
Makefile

#################################################
# config
KERNEL_LOCATION=/usr/src/linux
CURRENT=$(shell uname -r)
#################################################
# some magic for using linux kernel settings
# when compiling module(s)
M_OBJS = eeprom.o hw-monitor.c
MX_OBJS =
EXTRA_CFLAGS = -DVERIFY_HEADERS -DSLOW_STARTER -I..
here:
DIR=`pwd`; (cd $(KERNEL_LOCATION); make SUBDIRS=$$DIR modules)
install:
su -c "cp -v $(M_OBJS) $(MX_OBJS) /lib/modules/$(CURRENT)/misc"
clean:
-rm -f $(M_OBJS) $(MX_OBJS) .*.o.flags *~
include $(KERNEL_LOCATION)/Rules.make