root/i2c-tools/trunk/Makefile

Revision 5002, 0.7 kB (checked in by khali, 10 months ago)

i2c-stub-from-dump: New helper script to use with the i2c-stub kernel
driver.

Line 
1 # I2C tools for Linux
2 #
3 # Copyright (C) 2007  Jean Delvare <khali@linux-fr.org>
4 #
5 # Licensed under the GNU General Public License.
6
7 DESTDIR =
8 prefix  = /usr/local
9 bindir  = $(prefix)/bin
10 sbindir = $(prefix)/sbin
11 mandir  = $(prefix)/share/man
12 man8dir = $(mandir)/man8
13 incdir  = $(prefix)/include
14
15 INSTALL         := install
16 INSTALL_DATA    := $(INSTALL) -m 644
17 INSTALL_DIR     := $(INSTALL) -m 755 -d
18 INSTALL_PROGRAM := $(INSTALL) -m 755
19 RM              := rm -f
20
21 CC      := gcc
22 CFLAGS  := -Wall
23
24 CFLAGS  += -O2
25 # When debugging, use the following instead
26 #CFLAGS += -O -g
27
28 KERNELVERSION   := $(shell uname -r)
29
30 .PHONY: all strip clean install uninstall
31
32 all:
33
34 include eeprom/Module.mk
35 include include/Module.mk
36 include stub/Module.mk
37 include tools/Module.mk
Note: See TracBrowser for help on using the browser.