Files
lm-sensors/i2c/eeprom/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

42 lines
1.0 KiB
Makefile

# $Id: Makefile,v 1.1 1996/07/23 20:31:56 i2c Exp $
# $Log: Makefile,v $
# Revision 1.1 1996/07/23 20:31:56 i2c
# Initial revision
#
I2C_HOME = ..
#----------------------------------------------------------------------------
I2C_OPT = -DVERIFY_HEADERS -DSLOW_STARTER
WARNINGS = -Wall -Wstrict-prototypes
COMPILE = -pipe -fomit-frame-pointer -m486 -O2 \
-I$(I2C_HOME) -I.
DEBUG =
SRCS = i2c_main.c adap-illeg.c adap-phil.c adap-lppcf.c adap-isapcf.c \
# adap-lpbit.c
OBJS = $(SRCS:.c=.o)
HDRS = i2c_priv.h
MAIN = eeprom
CFLAGS = $(DEBUG) $(WARNINGS) $(COMPILE) $(I2C_OPT) $(KERNEL_OPT)
SFLAGS = -fverbose-asm $(WARNINGS) $(COMPILE) $(PRT_OPT) $(KERNEL_OPT)
all: $(MAIN)
install: $(MAIN)
-@mkdir $(I2C_HOME)/bin
cp $(MAIN) $(I2C_HOME)/bin
clean:
-rm -f a.out $(OBJS) $(MAIN) core .depend detect
dep depend .depend: $(HDRS) $(SRCS)
gcc $(CFLAGS) $(SRCS) -M >.depend
#
# include dependency files if they exist
#
#ifeq (.depend,$(wildcard .depend))
#include .depend
#endif