summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGraydon, Tracy <tracy.graydon@intel.com>2013-01-31 18:44:07 -0800
committerGraydon, Tracy <tracy.graydon@intel.com>2013-01-31 18:44:07 -0800
commitb19d79bf9028f58e3e4226bd9410b59f19fe3c8d (patch)
treea84dec919322f3d19c7c0cf3050c8c134a0d4fc6 /Makefile
downloadi2c-tools-b19d79bf9028f58e3e4226bd9410b59f19fe3c8d.tar.gz
i2c-tools-b19d79bf9028f58e3e4226bd9410b59f19fe3c8d.tar.bz2
i2c-tools-b19d79bf9028f58e3e4226bd9410b59f19fe3c8d.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a2bf718
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,37 @@
+# I2C tools for Linux
+#
+# Copyright (C) 2007 Jean Delvare <khali@linux-fr.org>
+#
+# Licensed under the GNU General Public License.
+
+DESTDIR =
+prefix = /usr/local
+bindir = $(prefix)/bin
+sbindir = $(prefix)/sbin
+mandir = $(prefix)/share/man
+man8dir = $(mandir)/man8
+incdir = $(prefix)/include
+
+INSTALL := install
+INSTALL_DATA := $(INSTALL) -m 644
+INSTALL_DIR := $(INSTALL) -m 755 -d
+INSTALL_PROGRAM := $(INSTALL) -m 755
+RM := rm -f
+
+CC := gcc
+CFLAGS := -Wall
+
+CFLAGS += -O2
+# When debugging, use the following instead
+#CFLAGS += -O -g
+
+KERNELVERSION := $(shell uname -r)
+
+.PHONY: all strip clean install uninstall
+
+all:
+
+include eeprom/Module.mk
+include include/Module.mk
+include stub/Module.mk
+include tools/Module.mk