first commit
This commit is contained in:
commit
a5a0434432
1126 changed files with 439481 additions and 0 deletions
40
Script/i2c-tools-3.1.0/Makefile
Normal file
40
Script/i2c-tools-3.1.0/Makefile
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
# I2C tools for Linux
|
||||
#
|
||||
# Copyright (C) 2007 Jean Delvare <khali@linux-fr.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
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 ?= -O2
|
||||
# When debugging, use the following instead
|
||||
#CFLAGS := -O -g
|
||||
CFLAGS += -Wall
|
||||
|
||||
KERNELVERSION := $(shell uname -r)
|
||||
|
||||
.PHONY: all strip clean install uninstall
|
||||
|
||||
all:
|
||||
|
||||
EXTRA :=
|
||||
#EXTRA += py-smbus
|
||||
SRCDIRS := include eeprom stub tools $(EXTRA)
|
||||
include $(SRCDIRS:%=%/Module.mk)
|
||||
Loading…
Add table
Add a link
Reference in a new issue