mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-19 11:19:31 +00:00
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
33 lines
781 B
Makefile
33 lines
781 B
Makefile
# $Id: Makefile,v 1.1 1996/12/04 20:40:10 i2c Exp $
|
|
# $Log: Makefile,v $
|
|
# Revision 1.1 1996/12/04 20:40:10 i2c
|
|
# Initial revision
|
|
#
|
|
#
|
|
|
|
|
|
I2C_HOME = ..
|
|
|
|
#----------------------------------------------------------------------------
|
|
I2C_OPT = -DVERIFY_HEADERS -DSLOW_STARTER
|
|
KERNEL_OPT = -D__KERNEL__ -DKERNEL -DLINUX -DMODULE
|
|
WARNINGS = -Wall -Wstrict-prototypes
|
|
COMPILE = -pipe -fomit-frame-pointer -m486 -O2 \
|
|
-I$(I2C_HOME) -I.
|
|
DEBUG =
|
|
|
|
SRCS = i2c_main.c alg-illeg.c $(HW_SRCS)
|
|
INCLUDES = i2c_priv.h
|
|
OBJS = $(SRCS:.c=.o)
|
|
HDRS = i2c_priv.h
|
|
MOD = i2c
|
|
|
|
CFLAGS = $(DEBUG) $(WARNINGS) $(COMPILE) $(I2C_OPT) $(KERNEL_OPT)
|
|
SFLAGS = -fverbose-asm $(WARNINGS) $(COMPILE) $(PRT_OPT) $(KERNEL_OPT)
|
|
|
|
all: detect
|
|
|
|
clean:
|
|
-rm -f detect
|
|
|