1
0

patch-Makefile 571 B

123456789101112131415161718192021222324
  1. --- i2c-tools-3.0.2.orig/Makefile 2007-11-01 18:54:57.000000000 +0100
  2. +++ i2c-tools-3.0.2/Makefile 2010-07-13 21:44:41.807074577 +0200
  3. @@ -4,8 +4,8 @@
  4. #
  5. # Licensed under the GNU General Public License.
  6. -DESTDIR =
  7. -prefix = /usr/local
  8. +DESTDIR ?=
  9. +prefix = /usr
  10. bindir = $(prefix)/bin
  11. sbindir = $(prefix)/sbin
  12. mandir = $(prefix)/share/man
  13. @@ -18,8 +18,8 @@ INSTALL_DIR := $(INSTALL) -m 755 -d
  14. INSTALL_PROGRAM := $(INSTALL) -m 755
  15. RM := rm -f
  16. -CC := gcc
  17. -CFLAGS := -Wall
  18. +CC ?= gcc
  19. +CFLAGS ?= -Wall
  20. CFLAGS += -O2
  21. # When debugging, use the following instead