equal
deleted
inserted
replaced
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) |