mini/Makefile
changeset 5 6f2508af550c
parent 0 05c992bf5847
child 9 144d220c8ca0
equal deleted inserted replaced
4:394c89f02e48 5:6f2508af550c
     6 #
     6 #
     7 #  $Id$
     7 #  $Id$
     8 #
     8 #
     9 #----------------------------------------------------------------
     9 #----------------------------------------------------------------
    10 
    10 
    11 MSRDIR = /vol/projekte/msr_messen_steuern_regeln
    11 EC_DIR = /vol/projekte/msr_messen_steuern_regeln/ethercat
    12 KERNELDIR = $(MSRDIR)/linux/kernel/2.4.20/include/linux-2.4.20.CX1100-rthal5
    12 
    13 CFLAGS = -O2 -Wall -Wuninitialized -D__KERNEL__ -DMODULE -I$(KERNELDIR)/include
    13 #KERNELDIR = $(EC_DIR)/linux-2.4.20.CX1100-rthal5-kdb
       
    14 KERNELDIR = $(EC_DIR)/linux-2.4.20-kdb
       
    15 #KERNELDIR = /usr/src/linux
       
    16 
       
    17 CFLAGS = -O2 -Wall -Wuninitialized -D__KERNEL__ \
       
    18 	-DMODULE -I$(KERNELDIR)/include
    14 
    19 
    15 MODULE = ec_mini_mod.o
    20 MODULE = ec_mini_mod.o
    16 
    21 
    17 SRC = ec_mini.c 
    22 SRC = ec_mini.c
    18 OBJ = $(SRC:.c=.o)
    23 OBJ = $(SRC:.c=.o)
    19 
    24 
    20 #----------------------------------------------------------------
    25 #----------------------------------------------------------------
    21 
    26 
    22 all: .depend Makefile $(MODULE)
    27 all: .depend Makefile $(MODULE)