mini/Makefile
changeset 5 6f2508af550c
parent 0 05c992bf5847
child 9 144d220c8ca0
--- a/mini/Makefile	Fri Nov 04 09:38:50 2005 +0000
+++ b/mini/Makefile	Fri Nov 04 16:47:23 2005 +0000
@@ -8,13 +8,18 @@
 #
 #----------------------------------------------------------------
 
-MSRDIR = /vol/projekte/msr_messen_steuern_regeln
-KERNELDIR = $(MSRDIR)/linux/kernel/2.4.20/include/linux-2.4.20.CX1100-rthal5
-CFLAGS = -O2 -Wall -Wuninitialized -D__KERNEL__ -DMODULE -I$(KERNELDIR)/include
+EC_DIR = /vol/projekte/msr_messen_steuern_regeln/ethercat
+
+#KERNELDIR = $(EC_DIR)/linux-2.4.20.CX1100-rthal5-kdb
+KERNELDIR = $(EC_DIR)/linux-2.4.20-kdb
+#KERNELDIR = /usr/src/linux
+
+CFLAGS = -O2 -Wall -Wuninitialized -D__KERNEL__ \
+	-DMODULE -I$(KERNELDIR)/include
 
 MODULE = ec_mini_mod.o
 
-SRC = ec_mini.c 
+SRC = ec_mini.c
 OBJ = $(SRC:.c=.o)
 
 #----------------------------------------------------------------