summaryrefslogtreecommitdiff
path: root/wcte12xp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'wcte12xp/Makefile')
-rw-r--r--wcte12xp/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/wcte12xp/Makefile b/wcte12xp/Makefile
index 0992833..1df324e 100644
--- a/wcte12xp/Makefile
+++ b/wcte12xp/Makefile
@@ -1,10 +1,12 @@
ifneq ($(KBUILD_EXTMOD),)
-
-include $(src)/Makefile.kernel26
+# We only get here on kernels 2.6.0-2.6.8 .
+# For newer kernels, Kbuild will be included directly by the kernel
+# build system.
+include $(src)/Kbuild
else
-all: wct12xp.o
+all: wcte12xp.o
%.o: %.c
$(CC) $(KFLAGS) -o $@ -c $<