rs232dbg/Makefile
changeset 10 67c739ece5d5
parent 9 144d220c8ca0
child 16 f04e93b8af0f
equal deleted inserted replaced
9:144d220c8ca0 10:67c739ece5d5
    14 include $(KERNEL_DIRS_FILE)
    14 include $(KERNEL_DIRS_FILE)
    15 else
    15 else
    16 KERNELDIR = /vol/projekte/msr_messen_steuern_regeln/linux/kernel/2.4.20/include/linux-2.4.20.CX1100-rthal5
    16 KERNELDIR = /vol/projekte/msr_messen_steuern_regeln/linux/kernel/2.4.20/include/linux-2.4.20.CX1100-rthal5
    17 RTAIDIR   = /vol/projekte/msr_messen_steuern_regeln/linux/kernel/2.4.20/include/rtai-24.1.13
    17 RTAIDIR   = /vol/projekte/msr_messen_steuern_regeln/linux/kernel/2.4.20/include/rtai-24.1.13
    18 RTLIBDIR = rt_lib
    18 RTLIBDIR = rt_lib
    19 endif
       
    20 
       
    21 ifeq (.depend,$(wildcard .depend))
       
    22 include .depend
       
    23 endif
    19 endif
    24 
    20 
    25 CFLAGS = -O2 -Wall -Wuninitialized -D__KERNEL__ -DMODULE \
    21 CFLAGS = -O2 -Wall -Wuninitialized -D__KERNEL__ -DMODULE \
    26 	-I$(KERNELDIR)/include -D_RTAI -I$(RTAIDIR)/include -I$(RTLIBDIR)/msr-include
    22 	-I$(KERNELDIR)/include -D_RTAI -I$(RTAIDIR)/include -I$(RTLIBDIR)/msr-include
    27 
    23 
    51 
    47 
    52 clean:
    48 clean:
    53 	rm -f *.o *~ core .depend
    49 	rm -f *.o *~ core .depend
    54 
    50 
    55 #----------------------------------------------------------------
    51 #----------------------------------------------------------------
       
    52 
       
    53 ifeq (.depend,$(wildcard .depend))
       
    54 include .depend
       
    55 endif
       
    56 
       
    57 #----------------------------------------------------------------