patch-Makefile 542 B

123456789101112131415161718192021222324
  1. $OpenBSD: patch-Makefile,v 1.2 2011/11/13 13:54:04 ajacoutot Exp $
  2. --- Makefile.orig Mon Jan 1 19:47:02 2007
  3. +++ Makefile Sun Nov 13 10:21:13 2011
  4. @@ -13,8 +13,8 @@ VERSION = 3.5.0
  5. CC = gcc
  6. -CFLAGS = -I./src -I./userial -O2 # -g -Wall
  7. -LIBS = -lm
  8. +CFLAGS += -I./src -I./userial
  9. +LIBS = -lm ${LDFLAGS}
  10. OBJS = src/digitemp.o src/device_name.o
  11. HDRS = src/digitemp.h src/device_name.h
  12. @@ -96,7 +96,7 @@ endif
  13. # USB specific flags
  14. ds2490: CFLAGS += -DOWUSB
  15. -ds2490: LIBS += -lusb
  16. +ds2490: LIBS += -lusb -pthread
  17. help: