]> rtime.felk.cvut.cz Git - socketcan-devel.git/blobdiff - can-utils/Makefile
Introduce KERNELDIR variable to allow override when invoking make on commandline.
[socketcan-devel.git] / can-utils / Makefile
index c6c3857ebe0e50827dd953d3266f5157db504512..5f32ef4824e5e383d18745075c75aba78b3dfdf3 100644 (file)
 #
 #  Send feedback to <socketcan-users@lists.berlios.de>
 
+KERNELDIR = ../kernel/2.6
+
 MAKEFLAGS = -k
 
-CFLAGS    = -O2 -Wall -Wno-parentheses -I../kernel/2.6/include \
+CFLAGS    = -O2 -Wall -Wno-parentheses -I$(KERNELDIR)/include \
            -fno-strict-aliasing \
            -DPF_CAN=29 \
            -DAF_CAN=PF_CAN