]> rtime.felk.cvut.cz Git - can-utils.git/blobdiff - Makefile
canbusload: Fix worst-case frame length estimation
[can-utils.git] / Makefile
index 2c75e42c518a5c6afa01b023d5ab2798fe1a516b..ab99746ade877507701632e9af1632c2e8fc6c5a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,4 @@
 #
-#  $Id$
-#
 #  Copyright (c) 2002-2005 Volkswagen Group Electronic Research
 #  All rights reserved.
 #
 #  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
 #  DAMAGE.
 #
-#  Send feedback to <socketcan-users@lists.berlios.de>
-
-DESTDIR =
-PREFIX = /usr/local
+#  Send feedback to <linux-can@vger.kernel.org>
 
-KERNELDIR = ../kernel/2.6
+DESTDIR ?=
+PREFIX ?= /usr/local
 
 MAKEFLAGS = -k
 
-CFLAGS    = -O2 -Wall -Wno-parentheses -I$(KERNELDIR)/include \
+CFLAGS    = -O2 -Wall -Wno-parentheses -Iinclude \
            -fno-strict-aliasing \
            -DSO_RXQ_OVFL=40 \
            -DPF_CAN=29 \
@@ -85,6 +81,7 @@ canbusload.o: lib.h
 log2long.o:    lib.h
 log2asc.o:     lib.h
 asc2log.o:     lib.h
+canframelen.o:  canframelen.h
 
 cansend:       cansend.o       lib.o
 cangen:                cangen.o        lib.o
@@ -94,3 +91,4 @@ canlogserver: canlogserver.o  lib.o
 log2long:      log2long.o      lib.o
 log2asc:       log2asc.o       lib.o
 asc2log:       asc2log.o       lib.o
+canbusload:    canbusload.o    canframelen.o