]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/Makefile.std
Structured comments updated.
[lincan.git] / lincan / src / Makefile.std
index f7405048fa700d4569e3b53d8466c9c58031ff68..40dacc382aacb493f47c5f9917ce5d6a881608d6 100644 (file)
@@ -122,6 +122,12 @@ ifdef PROC_FS
        O_OBJS += proc.o
 endif
 
+ifdef SUBDIRS
+EXTRA_CFLAGS += -I $(SUBDIRS)
+else
+EXTRA_CFLAGS += -I .
+endif
+
 # Target object file if any
 # this must be undefined for 2.5.xx kernels
 ifndef KERNEL_MODULE_V26
@@ -145,7 +151,7 @@ L_OBJS       =
 # Kernel only objects with exported symbols (-DEXPORT_SYMTAB)
 LX_OBJS      = 
 # Additional CFLAGS
-EXTRA_CFLAGS += -I .
+EXTRA_CFLAGS +=
 
 # Linux 2.4.2 and newer build system needs next
 can-objs = $(O_OBJS)